aboutsummaryrefslogtreecommitdiff
path: root/libbutl/pager.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-06-19 13:45:12 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-06-20 14:17:33 +0300
commitd6e5c6c1119b2bc569391432ec2904f3a640c967 (patch)
tree97aedf6c907da5d362f2e223821287cf897e15ad /libbutl/pager.hxx
parentafc9f1ea10b31ddfbd822b8c12f9f9944b517e7a (diff)
Fix pager's 'broken pipe' errorHEADmaster
Diffstat (limited to 'libbutl/pager.hxx')
-rw-r--r--libbutl/pager.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/libbutl/pager.hxx b/libbutl/pager.hxx
index 12a6670..2c26bf3 100644
--- a/libbutl/pager.hxx
+++ b/libbutl/pager.hxx
@@ -68,10 +68,10 @@ namespace butl
using traits_type = std::streambuf::traits_type;
virtual int_type
- overflow (int_type);
+ overflow (int_type) override;
virtual int
- sync ();
+ sync () override;
private:
process p_;
@@ -80,5 +80,6 @@ namespace butl
std::string indent_;
int_type prev_ = '\n'; // Previous character.
std::streambuf* buf_ = nullptr;
+ bool skip_ = false;
};
}