summaryrefslogtreecommitdiff
path: root/test/interactive-helper
diff options
context:
space:
mode:
Diffstat (limited to 'test/interactive-helper')
-rw-r--r--test/interactive-helper/teestream.h8
-rw-r--r--test/interactive-helper/testdeb.cc2
2 files changed, 5 insertions, 5 deletions
diff --git a/test/interactive-helper/teestream.h b/test/interactive-helper/teestream.h
index 058717ac3..511c6da60 100644
--- a/test/interactive-helper/teestream.h
+++ b/test/interactive-helper/teestream.h
@@ -19,13 +19,13 @@ public:
std::basic_streambuf<CharT, Traits> * const sb2)
: s1(sb1), s2(sb2) {}
protected:
- virtual std::streamsize xsputn(const CharT* s, std::streamsize c) APT_OVERRIDE
+ virtual std::streamsize xsputn(const CharT* s, std::streamsize c) override
{
return s2->sputn(s, s1->sputn(s, c));
}
// overflow is the fallback of sputc which is non-virtual
typedef typename Traits::int_type int_type;
- virtual int_type overflow(int_type ch = Traits::eof()) APT_OVERRIDE
+ int_type overflow(int_type ch = Traits::eof()) override
{
auto const eof = Traits::eof();
if (Traits::eq_int_type(ch, Traits::eof()) == true)
@@ -35,12 +35,12 @@ protected:
auto const r2 = s2->sputc(Traits::to_char_type(ch));
return Traits::eq_int_type(r1, eof) ? r1: r2;
}
- virtual void imbue(const std::locale& loc) APT_OVERRIDE
+ void imbue(const std::locale& loc) override
{
s1->pubimbue(loc);
s2->pubimbue(loc);
}
- virtual int sync() APT_OVERRIDE
+ int sync() override
{
auto const r1 = s1->pubsync();
auto const r2 = s2->pubsync();
diff --git a/test/interactive-helper/testdeb.cc b/test/interactive-helper/testdeb.cc
index 0bb24a52a..20376181b 100644
--- a/test/interactive-helper/testdeb.cc
+++ b/test/interactive-helper/testdeb.cc
@@ -13,7 +13,7 @@
class NullStream : public pkgDirStream
{
public:
- virtual bool DoItem(Item &/*Itm*/, int &/*Fd*/) APT_OVERRIDE {return true;};
+ bool DoItem(Item &/*Itm*/, int &/*Fd*/) override {return true;};
};
static bool Test(const char *File)