diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-04-01 15:51:14 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-04-01 15:51:14 -0600 |
commit | 8713aeac5e29f019286df6dc6c52a2da956972e7 (patch) | |
tree | 917f82befde9add8d97f1f0ca31c61659f068e4e /src/libutil/error.cc | |
parent | a72b6b2ec80a8500015315acd36991aad9817907 (diff) |
remove using std::*, switch to include guard
Diffstat (limited to 'src/libutil/error.cc')
-rw-r--r-- | src/libutil/error.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libutil/error.cc b/src/libutil/error.cc index 5384248f8..2b7a079dc 100644 --- a/src/libutil/error.cc +++ b/src/libutil/error.cc @@ -5,11 +5,7 @@ namespace nix { -using std::cout; -using std::endl; -using std::nullopt; - -optional<string> ErrorInfo::programName = nullopt; +optional<string> ErrorInfo::programName = std::nullopt; // return basic_format? string showErrLine(ErrLine &errLine) |