mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
Storage, NetworkConnection: Don't in-place construct atomics.
Visual C++ 2013 doesn't support this.
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user