Prefer logical punctuators instead of named operator keywords

Some compilers (eg. MSVC) still require inclusion of <ciso646>
in order to import named operator keywords.
It is easier to stick with traditional punctuators.
This commit is contained in:
Mateusz Loskot
2018-02-14 01:10:02 +01:00
committed by Patrick Niklaus
parent 342da81591
commit ae41066fbe
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ class EntryClass
friend std::size_t std::hash<EntryClass>::operator()(const EntryClass &) const;
};
#if not defined __GNUC__ or __GNUC__ > 4
#if !defined(__GNUC__) || (__GNUC__ > 4)
static_assert(std::is_trivially_copyable<EntryClass>::value,
"Class is serialized trivially in "
"the datafacades. Bytewise writing "