gcc complained:
"ISO C++17 does not allow dynamic exception specifications"
Also remove it in ensure_indent_level() static function.
std::string convert_hex_to_binary(
const std::string& str
)
-throw (std::runtime_error)
{
std::string result;
char c= 0;
std::string convert_binary_to_hex(const std::string&str, bool upper_case_digits= false);
-std::string convert_hex_to_binary(const std::string& str) throw(std::runtime_error);
+std::string convert_hex_to_binary(const std::string& str);
/*
* @param level the desired indent level.
*/
static void ensure_indent_level(PerThreadContainer *per_thread, unsigned int level)
- throw(std::length_error, std::bad_alloc)
{
// First initialization?
if (per_thread->indents.empty())