diff options
Diffstat (limited to 'third_party/nix/src/libstore/serve-protocol.hh')
-rw-r--r-- | third_party/nix/src/libstore/serve-protocol.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libstore/serve-protocol.hh b/third_party/nix/src/libstore/serve-protocol.hh index a07a7ef97425..04c92e63f6de 100644 --- a/third_party/nix/src/libstore/serve-protocol.hh +++ b/third_party/nix/src/libstore/serve-protocol.hh @@ -9,7 +9,7 @@ namespace nix { #define GET_PROTOCOL_MAJOR(x) ((x)&0xff00) #define GET_PROTOCOL_MINOR(x) ((x)&0x00ff) -typedef enum { +using ServeCommand = enum { cmdQueryValidPaths = 1, cmdQueryPathInfos = 2, cmdDumpStorePath = 3, @@ -19,6 +19,6 @@ typedef enum { cmdQueryClosure = 7, cmdBuildDerivation = 8, cmdAddToStoreNar = 9, -} ServeCommand; +}; } // namespace nix |