Skip to content

Commit

Permalink
eval.cc: add message to static_assert, message can be omitted w/c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed May 26, 2018
1 parent 14c464b commit 93ae90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/eval.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 93ae90d

Please sign in to comment.