aboutsummaryrefslogtreecommitdiff
path: root/build2/name.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/name.cxx')
-rw-r--r--build2/name.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/build2/name.cxx b/build2/name.cxx
index 0d7211c..296b4ec 100644
--- a/build2/name.cxx
+++ b/build2/name.cxx
@@ -2,12 +2,10 @@
// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
// license : MIT; see accompanying LICENSE file
-#include <build2/name>
+#include <build2/types> // Note: not <build2/names>
#include <build2/diagnostics>
-using namespace std;
-
namespace build2
{
ostream&
@@ -42,7 +40,7 @@ namespace build2
}
ostream&
- operator<< (ostream& os, const names& ns)
+ operator<< (ostream& os, const names_view& ns)
{
for (auto i (ns.begin ()), e (ns.end ()); i != e; )
{