From 785ca363167983b04f3d1f17c2d1d464969a1a50 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 12 Jul 2020 17:49:22 -0400 Subject: refactor(3p/nix): Remove unused insert_or_assign This function in never called, so let's just remove it Paired-With: Luke Granger-Brown Paired-With: Vincent Ambo Change-Id: I79125866254d90dd0842bc86830d2103ac313cb6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1125 Tested-by: BuildkiteCI Reviewed-by: lukegb Reviewed-by: isomer --- third_party/nix/src/libexpr/attr-set.hh | 3 --- 1 file changed, 3 deletions(-) (limited to 'third_party/nix/src/libexpr/attr-set.hh') diff --git a/third_party/nix/src/libexpr/attr-set.hh b/third_party/nix/src/libexpr/attr-set.hh index 55641a020325..795ee2337fc7 100644 --- a/third_party/nix/src/libexpr/attr-set.hh +++ b/third_party/nix/src/libexpr/attr-set.hh @@ -80,9 +80,6 @@ class Bindings { // Insert, but do not replace, values in the attribute set. virtual void push_back(const Attr& attr) = 0; - // Insert a value, or replace an existing one. - virtual void insert_or_assign(Attr& attr) = 0; - // Look up a specific element of the attribute set. virtual iterator find(const Symbol& name) = 0; -- cgit 1.4.1