projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update documentation for Synchronized
[folly.git]
/
folly
/
MicroSpinLock.h
diff --git
a/folly/MicroSpinLock.h
b/folly/MicroSpinLock.h
index 1318d9e9f0e02d9445d17553cb4e722674eacfec..4a691fd1ff54cb5da397f926c01e7efc25d7367a 100644
(file)
--- a/
folly/MicroSpinLock.h
+++ b/
folly/MicroSpinLock.h
@@
-105,6
+105,9
@@
struct MicroSpinLock {
std::memory_order_relaxed);
}
};
+static_assert(
+ std::is_pod<MicroSpinLock>::value,
+ "MicroSpinLock must be kept a POD type.");
//////////////////////////////////////////////////////////////////////