summaryrefslogtreecommitdiff
path: root/include/io
diff options
context:
space:
mode:
authorljfa-ag <ljfa-ag@web.de>2015-08-05 11:50:26 +0200
committerljfa-ag <ljfa-ag@web.de>2015-08-05 11:50:26 +0200
commit95fd640876ef0f49c5667a4888ce95c5d36ca2b9 (patch)
tree2a262bc6d219d2631fcce3448152ad5df2e68ed0 /include/io
parent783cc495dc762363e4cce0196e06f201184737a5 (diff)
downloadProject-Tick-95fd640876ef0f49c5667a4888ce95c5d36ca2b9.tar.gz
Project-Tick-95fd640876ef0f49c5667a4888ce95c5d36ca2b9.zip
Use "using" for inheriting input_error constructors
Diffstat (limited to 'include/io')
-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;
};
/**