about summary refs log tree commit diff
path: root/third_party/nix/src/libstore/rpc-store.hh
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-08-20T01·52+0100
committertazjin <mail@tazj.in>2020-08-20T11·48+0000
commita75c0278db652c7265f205f1a529632e6b050157 (patch)
tree18b8a5a3edbbc9cec4e1e8068097f09ffcd6e43b /third_party/nix/src/libstore/rpc-store.hh
parente09a6262d55ebffbd6e2973e7fe8ced6f1a45d83 (diff)
refactor(tvix): Remove some default values from virtual methods r/1687
This is not actually legal code, but it kind of ... works. There are
more of these around, these were just the ones Griffin stumbled upon
while working on the build logs.

Change-Id: Iff9821d8fe145dd426648a8ff4510a73f67c9b7d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1795
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'third_party/nix/src/libstore/rpc-store.hh')
-rw-r--r--third_party/nix/src/libstore/rpc-store.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libstore/rpc-store.hh b/third_party/nix/src/libstore/rpc-store.hh
index 4bf417ad1edf..b1c294532393 100644
--- a/third_party/nix/src/libstore/rpc-store.hh
+++ b/third_party/nix/src/libstore/rpc-store.hh
@@ -68,11 +68,11 @@ class RpcStore : public LocalFSStore, public virtual Store {
                               RepairFlag repair = NoRepair) override;
 
   virtual absl::Status buildPaths(const PathSet& paths,
-                                  BuildMode buildMode = bmNormal) override;
+                                  BuildMode buildMode) override;
 
   virtual BuildResult buildDerivation(const Path& drvPath,
                                       const BasicDerivation& drv,
-                                      BuildMode buildMode = bmNormal) override;
+                                      BuildMode buildMode) override;
 
   virtual void ensurePath(const Path& path) override;