about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/value.hh
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-08-12T00·35+0100
committertazjin <mail@tazj.in>2020-08-13T01·39+0000
commite38015f7b55a9873b60113d499b150ddceb165e6 (patch)
tree96ae1ee99973bfd2c05b5110e0bb9b6390b4fa2c /third_party/nix/src/libexpr/value.hh
parentc9d5262aa7b093befe16b14bca74cb8f3914d299 (diff)
refactor(tvix): Very minor lint fixes r/1642
Change-Id: I4aca504d98c79f931b7faadff86f40d27ed5a2c5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1719
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
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 bb151b0f308b..df6563cf1cd3 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;