VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/Serializable.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform/Serializable.h')
-rw-r--r--src/Platform/Serializable.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Platform/Serializable.h b/src/Platform/Serializable.h
index 64c859f6..ef1fbdbe 100644
--- a/src/Platform/Serializable.h
+++ b/src/Platform/Serializable.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
@@ -29,8 +29,8 @@ namespace VeraCrypt
virtual void Deserialize (shared_ptr <Stream> stream) = 0;
static string DeserializeHeader (shared_ptr <Stream> stream);
static Serializable *DeserializeNew (shared_ptr <Stream> stream);
-
- template <class T>
+
+ template <class T>
static shared_ptr <T> DeserializeNew (shared_ptr <Stream> stream)
{
shared_ptr <T> p (dynamic_cast <T *> (DeserializeNew (stream)));
@@ -39,7 +39,7 @@ namespace VeraCrypt
return p;
}
- template <class T>
+ template <class T>
static void DeserializeList (shared_ptr <Stream> stream, list < shared_ptr <T> > &dataList)
{
if (DeserializeHeader (stream) != string ("list<") + SerializerFactory::GetName (typeid (T)) + ">")