Browse Source

listmanager_dummy.cc - explicit constructors

LIB-11
heck 11 months ago
parent
commit
ebe75b3b06
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/listmanager_dummy.hh

+ 4
- 4
src/listmanager_dummy.hh View File

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


Loading…
Cancel
Save