aboutsummaryrefslogtreecommitdiff
path: root/bpkg/help.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-30 20:24:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-08 16:51:05 +0200
commit4b074f21d097e02a8343a4c1d8ad48e6661d622a (patch)
tree625d0c129276a22e43fb840a36e3bc6af300901d /bpkg/help.cxx
parent02ca7e6b7bb7c01659adba36944e59262f307b06 (diff)
Support package dependency version range
Diffstat (limited to 'bpkg/help.cxx')
-rw-r--r--bpkg/help.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/bpkg/help.cxx b/bpkg/help.cxx
index 3c44c52..16ef4e8 100644
--- a/bpkg/help.cxx
+++ b/bpkg/help.cxx
@@ -33,7 +33,7 @@ using namespace butl;
namespace bpkg
{
- struct pager: protected std::streambuf
+ struct pager: protected streambuf
{
pager (const common_options& co, const string& name)
{
@@ -142,10 +142,10 @@ namespace bpkg
buf_ = stream ().rdbuf (this);
}
- std::ostream&
+ ostream&
stream ()
{
- return os_.is_open () ? os_ : std::cout;
+ return os_.is_open () ? os_ : cout;
}
bool
@@ -168,8 +168,8 @@ namespace bpkg
// streambuf output interface.
//
protected:
- using int_type = std::streambuf::int_type;
- using traits_type = std::streambuf::traits_type;
+ using int_type = streambuf::int_type;
+ using traits_type = streambuf::traits_type;
virtual int_type
overflow (int_type c)
@@ -198,7 +198,7 @@ namespace bpkg
string indent_;
int_type prev_ = '\n'; // Previous character.
- std::streambuf* buf_ = nullptr;
+ streambuf* buf_ = nullptr;
};
int