VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/File.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform/File.h')
-rw-r--r--src/Platform/File.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Platform/File.h b/src/Platform/File.h
index d23ac6b1..5bb25a01 100644
--- a/src/Platform/File.h
+++ b/src/Platform/File.h
@@ -3,7 +3,7 @@
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
by the TrueCrypt License 3.0.
- Modifications and additions to the original source code (contained in this file)
+ Modifications and additions to the original source code (contained in this file)
and all other portions of this file are Copyright (c) 2013-2016 IDRIX
and are governed by the Apache License 2.0 the full text of which is
contained in the file License.txt included in VeraCrypt binary and source
@@ -56,7 +56,7 @@ namespace VeraCrypt
File () : FileIsOpen (false), SharedHandle (false) { }
virtual ~File ();
-
+
void AssignSystemHandle (SystemFileHandleType openFileHandle, bool sharedHandle = true)
{
if (FileIsOpen)
@@ -86,7 +86,7 @@ namespace VeraCrypt
void Write (const ConstBufferPtr &buffer) const;
void Write (const ConstBufferPtr &buffer, size_t length) const { Write (buffer.GetRange (0, length)); }
void WriteAt (const ConstBufferPtr &buffer, uint64 position) const;
-
+
protected:
void ValidateState () const;