aboutsummaryrefslogtreecommitdiff
path: root/build2/name.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-03-28 09:14:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-03-28 16:03:35 +0200
commit3ce44330cca9dbc4314feebb27403ebc3175b6c2 (patch)
tree8c1f27442f3b2dafaec3ba50baaca3d5fd63dca7 /build2/name.cxx
parent9d0d078ff297138622cd2f3f1076f5984395e42b (diff)
New variable architecture
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; )
{