about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2017-12-11T17·51-0600
committerWill Dietz <w@wdtz.org>2017-12-11T17·51-0600
commitc800f473950066c932cbb88fca17f9d31385e76c (patch)
treea4dd00d6afbcfb28ae8e86f0c0a2dafd51792c3c
parent06d4566c2d3662f86905f3925f5c4620e142efef (diff)
Fix forward-decl of Bindings as "class", match definition.
(appease clang -Wmismatched-tags warning)
-rw-r--r--src/nix/command.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/command.hh b/src/nix/command.hh
index daa3b3fa7030..6b34e3881e79 100644
--- a/src/nix/command.hh
+++ b/src/nix/command.hh
@@ -6,7 +6,7 @@
 namespace nix {
 
 struct Value;
-struct Bindings;
+class Bindings;
 class EvalState;
 
 /* A command is an argument parser that can be executed by calling its