From f9541d8b78bb59713eede3748a4e1bb5776ef87c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Thu, 7 Jun 2018 17:08:31 +0200 Subject: Fix warning. --- src/versionstr.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/versionstr.cc') diff --git a/src/versionstr.cc b/src/versionstr.cc index 604d7c1..a46f221 100644 --- a/src/versionstr.cc +++ b/src/versionstr.cc @@ -43,7 +43,7 @@ #undef patch #endif -VersionStr::VersionStr(const std::string& v) throw(const char*) +VersionStr::VersionStr(const std::string& v) { memset(version, 0, sizeof(version)); set(v); @@ -56,7 +56,7 @@ VersionStr::VersionStr(size_t major, size_t minor, size_t patch) version[2] = patch; } -void VersionStr::set(const std::string& v) throw(const char*) +void VersionStr::set(const std::string& v) { std::string num; size_t idx = 0; @@ -104,7 +104,7 @@ VersionStr::operator std::string() const return v; } -void VersionStr::operator=(const std::string& v) throw(const char*) +void VersionStr::operator=(const std::string& v) { set(v); } -- cgit v1.2.3