Skip to content

Commit 5dfd7d0

Browse files
committed
instream: drop dynamic exception specifications
They were deprecated in C++11.
1 parent 23891ab commit 5dfd7d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: instream.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "instream.hh"
2121

22-
InStream::InStream(const char *fName) throw (InFileException):
22+
InStream::InStream(const char *fName):
2323
fileName_(fName),
2424
str_((!fileName_.compare("-"))
2525
? std::cin

Diff for: instream.hh

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct InFileException {
3636

3737
class InStream {
3838
public:
39-
InStream(const char *fileName) throw (InFileException);
39+
InStream(const char *fileName);
4040
~InStream();
4141

4242
const std::string& fileName() const { return fileName_; }

0 commit comments

Comments
 (0)