ms visual studio 2013 support

not full support
This commit is contained in:
mikhail4021 2014-01-09 23:56:07 +04:00
parent 6341b10556
commit 55392ce783
19 changed files with 670 additions and 20 deletions

View file

@ -33,11 +33,15 @@ namespace data
IdentHash (const uint8_t * hash) { memcpy (m_Hash, hash, 32); };
IdentHash (const IdentHash& ) = default;
#ifndef _WIN32 // FIXME!!! msvs 2013 can't compile it
IdentHash (IdentHash&& ) = default;
#endif
IdentHash () = default;
IdentHash& operator= (const IdentHash& ) = default;
#ifndef _WIN32
IdentHash& operator= (IdentHash&& ) = default;
#endif
uint8_t * operator()() { return m_Hash; };
const uint8_t * operator()() const { return m_Hash; };