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:
committed by
Patrick Niklaus
parent
342da81591
commit
ae41066fbe
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user