Storage, NetworkConnection: Don't in-place construct atomics.

Visual C++ 2013 doesn't support this.
This commit is contained in:
Peter Johnson
2015-07-20 20:52:26 -07:00
parent 8bbe5f9fdb
commit 0979c1c9ca
2 changed files with 5 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ class StorageTest;
class StorageEntry {
public:
StorageEntry() : m_flags(0), m_id(0xffff) {}
StorageEntry() : m_id(0xffff) { m_flags = 0; }
bool IsPersistent() const { return (m_flags & NT_PERSISTENT) != 0; }