summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/io/stream_reader.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/io/stream_reader.h b/include/io/stream_reader.h
index 74f9536105..9d503f8ea4 100644
--- a/include/io/stream_reader.h
+++ b/include/io/stream_reader.h
@@ -39,9 +39,7 @@ public:
///Exception that gets thrown when reading is not successful
class input_error : public std::runtime_error
{
- public:
- input_error(const std::string& what_arg):
- std::runtime_error(what_arg) {}
+ using std::runtime_error::runtime_error;
};
/**