mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 03:18:26 -06:00
Remove trailing whitespace
This commit is contained in:
@@ -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)) + ">")
|
||||
|
||||
Reference in New Issue
Block a user