about summary refs log tree commit diff
path: root/third_party/nix/src/libutil/prefork-compat.hh
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-19T17·03+0100
committertazjin <mail@tazj.in>2020-07-19T19·02+0000
commit7a8880a0df579eeed7be2121dcd666cdb7e50f07 (patch)
treef6017b374e7979397941f61355cad33c18c7afd4 /third_party/nix/src/libutil/prefork-compat.hh
parent324d385b29979dee066a36250cfea9e030f24bfe (diff)
refactor(3p/nix): Remove remaining prefork-compat type r/1401
Removes the verbosity enum, which is no longer actively used anywhere
other than a daemon protocol implementation bit that doesn't actually
work.

Since the verbosity was marked deprecated, this removes one of the
last remaining warnings.

Change-Id: Iaee9d1d6c14b30daac83bb44bcacff32a0e07fb0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1289
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to '')
-rw-r--r--third_party/nix/src/libutil/prefork-compat.hh21
1 files changed, 0 insertions, 21 deletions
diff --git a/third_party/nix/src/libutil/prefork-compat.hh b/third_party/nix/src/libutil/prefork-compat.hh
deleted file mode 100644
index ae9c25e539..0000000000
--- a/third_party/nix/src/libutil/prefork-compat.hh
+++ /dev/null
@@ -1,21 +0,0 @@
-// This file exists to preserve compatibility with the pre-fork
-// version of Nix (2.3.4).
-//
-// During the refactoring, various structures are getting ripped out
-// and replaced with the dummies below while code is being cleaned up.
-
-#ifndef NIX_SRC_LIBUTIL_PREFORK_COMPAT_H_
-#define NIX_SRC_LIBUTIL_PREFORK_COMPAT_H_
-
-namespace nix::compat {
-
-// This is used in remote-store.cc for various things that expect the
-// old logging protocol when talking over the wire. It will be removed
-// hen the worker protocol is redone.
-enum [[deprecated("old logging compat only")]] Verbosity{
-    kError = 0, kWarn, kInfo, kTalkative, kChatty, kDebug, kVomit,
-};
-
-}  // namespace nix::compat
-
-#endif  // NIX_SRC_LIBUTIL_PREFORK_COMPAT_H_