aboutsummaryrefslogtreecommitdiff
path: root/bdep
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-11 21:48:28 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-14 18:08:06 +0300
commitcbd7cabcc3e6b24e80521bfec230e905f420ff4f (patch)
treef30aa2cd077fcb6a1939a7fdb79a80346d44d350 /bdep
parent61cdde35094fc655eac2e6968b465f217e91d0ac (diff)
Add some tests
Diffstat (limited to 'bdep')
-rw-r--r--bdep/diagnostics.hxx2
-rw-r--r--bdep/status.cxx6
2 files changed, 6 insertions, 2 deletions
diff --git a/bdep/diagnostics.hxx b/bdep/diagnostics.hxx
index 9a233f0..02765f5 100644
--- a/bdep/diagnostics.hxx
+++ b/bdep/diagnostics.hxx
@@ -5,6 +5,8 @@
#ifndef BDEP_DIAGNOSTICS_HXX
#define BDEP_DIAGNOSTICS_HXX
+#include <utility> // forward()
+
#include <odb/tracer.hxx>
#include <libbutl/diagnostics.mxx>
diff --git a/bdep/status.cxx b/bdep/status.cxx
index b460cd1..5ddf681 100644
--- a/bdep/status.cxx
+++ b/bdep/status.cxx
@@ -4,6 +4,8 @@
#include <bdep/status.hxx>
+#include <iostream> // cout
+
#include <bdep/project.hxx>
#include <bdep/database.hxx>
#include <bdep/diagnostics.hxx>
@@ -129,8 +131,8 @@ namespace bdep
//
if (verb && cfgs.size () > 1)
{
- text << (first ? "" : "\n")
- << "in configuration " << *c << ':';
+ cout << (first ? "" : "\n")
+ << "in configuration " << *c << ':' << endl;
first = false;
}