Browse Source

listmanager_dummy.cc - explicit constructors

LIB-11
heck 4 years ago
parent
commit
ebe75b3b06
  1. 8
      src/listmanager_dummy.hh

8
src/listmanager_dummy.hh

@ -44,19 +44,19 @@ namespace pEp {
class DBException : public std::runtime_error { class DBException : public std::runtime_error {
public: public:
DBException(const std::string& string) : runtime_error(string) {} explicit DBException(const std::string& string) : runtime_error(string) {}
}; };
class ListDoesNotExistException : public std::runtime_error { class ListDoesNotExistException : public std::runtime_error {
public: public:
ListDoesNotExistException(const std::string& string) : runtime_error(string) {} explicit ListDoesNotExistException(const std::string& string) : runtime_error(string) {}
}; };
class MemberDoesNotExistException : public std::runtime_error { class MemberDoesNotExistException : public std::runtime_error {
public: public:
MemberDoesNotExistException(const std::string& string) : runtime_error(string) {} explicit MemberDoesNotExistException(const std::string& string) : runtime_error(string) {}
}; };
class AlreadyExistsException : public std::runtime_error { class AlreadyExistsException : public std::runtime_error {
public: public:
AlreadyExistsException(const std::string& string) : runtime_error(string) {} explicit AlreadyExistsException(const std::string& string) : runtime_error(string) {}
}; };
} // namespace pEp } // namespace pEp

Loading…
Cancel
Save