Skip to content

Commit

Permalink
Fix c+11 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
bonitao committed Dec 15, 2021
1 parent d5d7969 commit 0ffa3e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion html/CharsetConverter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using namespace std;
using namespace htmlcxx;

CharsetConverter::CharsetConverter(const string &from, const string &to) throw (Exception)
CharsetConverter::CharsetConverter(const string &from, const string &to)
{
mIconvDescriptor = iconv_open(to.c_str(), from.c_str());
if (mIconvDescriptor == (iconv_t)(-1))
Expand Down
2 changes: 1 addition & 1 deletion html/CharsetConverter.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace htmlcxx
: std::runtime_error(arg) {}
};

CharsetConverter(const std::string &from, const std::string &to) throw (Exception);
CharsetConverter(const std::string &from, const std::string &to);
~CharsetConverter();

std::string convert(const std::string &input);
Expand Down

0 comments on commit 0ffa3e9

Please sign in to comment.