aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2018-05-28 14:54:20 +0200
committerGitHub <noreply@github.com>2018-05-28 14:54:20 +0200
commitd820717bc667ed7da54f6c6ddac8fce710727b87 (patch)
tree4d863ea64d0fdce6c1b2f31f796ea86c0c27be34
parent14c464b6c8d9acec40298923a45a7e3860f70ebf (diff)
parent93ae90de0f118417682ff532935675e4867df9db (diff)
Merge pull request #2186 from dtzWill/fix/cxx14-static-assert
eval.cc: add message to static_assert, message can be omitted w/c++17
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 2473157b3..7c8978000 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -307,7 +307,7 @@ EvalState::EvalState(const Strings & _searchPath, ref<Store> store)
assert(gcInitialised);
- static_assert(sizeof(Env) == 16);
+ static_assert(sizeof(Env) == 16, "environment must be 16 bytes");
/* Initialise the Nix expression search path. */
if (!settings.pureEval) {