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.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/versionstr.h') diff --git a/src/versionstr.h b/src/versionstr.h index f168332..48eb40a 100644 --- a/src/versionstr.h +++ b/src/versionstr.h @@ -55,7 +55,7 @@ public: * @param v A std::string containing a version string on the form a.b or * a.b.c */ - VersionStr(const std::string& v) throw(const char*); + VersionStr(const std::string& v); /** * Constructor. @@ -78,7 +78,7 @@ public: * Same as in the VersionStr(std::string v) constructor. * Throws an exeption if the string does not parse. */ - void operator=(const std::string& v) throw(const char*); + void operator=(const std::string& v); /** * Comparison operator. @@ -107,6 +107,6 @@ public: size_t patch() const; private: - void set(const std::string& v) throw(const char*); + void set(const std::string& v); size_t version[3]; }; -- cgit v1.2.3