diff options
author | 2016-08-04 13:30:57 +1000 | |
---|---|---|
committer | 2016-08-04 13:30:57 +1000 | |
commit | 3c47e784195846e647612204b483d9c0e9793634 (patch) | |
tree | 3f5de3429b0b11e4375fc809a8422200b65c349e | |
parent | fb5cc92470319da895054f3747bf83257b889c78 (diff) |
clang didn't like that...
-rw-r--r-- | src/tools/srcclean.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tools/srcclean.cpp b/src/tools/srcclean.cpp index 1c23c2e14a6..0e08fa57c52 100644 --- a/src/tools/srcclean.cpp +++ b/src/tools/srcclean.cpp @@ -768,7 +768,11 @@ void cleaner_base::handle_codepoint(unicode_char cp) class text_cleaner : public cleaner_base { public: - using cleaner_base::cleaner_base; + template <typename OutputIt> + text_cleaner(OutputIt &&output, newline newline_mode, unsigned tab_width) + : cleaner_base(std::forward<OutputIt>(output), newline_mode, tab_width) + { + } private: virtual void process_characters(unicode_char const *begin, unicode_char const *end) override |