From a162f4e8258ce1d401bc1cdb018e1212db80772d Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 21 May 2020 05:43:22 +0100 Subject: refactor(3p/nix/libexpr): Use std::string as qualified type Replaces most uses of `string` with `std::string`. This came up because I removed the "types.hh" import from "symbol-table.hh", which percolated through a bunch of files where `string` was suddenly no longer defined ... *sigh* --- third_party/nix/src/libexpr/symbol-table.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'third_party/nix/src/libexpr/symbol-table.hh') diff --git a/third_party/nix/src/libexpr/symbol-table.hh b/third_party/nix/src/libexpr/symbol-table.hh index 5005bb416bb7..df696c9e1ac8 100644 --- a/third_party/nix/src/libexpr/symbol-table.hh +++ b/third_party/nix/src/libexpr/symbol-table.hh @@ -3,11 +3,9 @@ #include #include -#include "types.hh" - namespace nix { // TODO(tazjin): ::expr - // TODO(tazjin): Replace with a simpler struct, or get rid of. +// TODO(tazjin): Replace with a simpler struct, or get rid of. class Symbol { private: const std::string* s; // pointer into SymbolTable -- cgit 1.4.1