about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/value.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libexpr/value.hh')
-rw-r--r--third_party/nix/src/libexpr/value.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libexpr/value.hh b/third_party/nix/src/libexpr/value.hh
index bb151b0f30..df6563cf1c 100644
--- a/third_party/nix/src/libexpr/value.hh
+++ b/third_party/nix/src/libexpr/value.hh
@@ -11,7 +11,7 @@
 
 namespace nix {
 
-typedef enum {
+using ValueType = enum {
   tInt = 1,
   tBool,
   tString,
@@ -27,7 +27,7 @@ typedef enum {
   tPrimOpApp,
   _reserved1,  // formerly tExternal
   tFloat
-} ValueType;
+};
 
 class Bindings;
 struct Env;