*: add lost of "noexcept" specifications

This commit is contained in:
Max Kellermann
2017-06-03 21:33:44 +02:00
parent 62b03cfddf
commit a057b4f6d8
65 changed files with 246 additions and 241 deletions

View File

@@ -187,7 +187,7 @@ public:
}
gcc_pure
const char *GetPath() const {
const char *GetPath() const noexcept {
return path.c_str();
}

View File

@@ -76,7 +76,7 @@ public:
const ConfigBlock &block);
gcc_pure
Directory &GetRoot() {
Directory &GetRoot() noexcept {
assert(root != NULL);
return *root;
@@ -125,7 +125,7 @@ public:
DatabaseStats GetStats(const DatabaseSelection &selection) const override;
time_t GetUpdateStamp() const override {
time_t GetUpdateStamp() const noexcept override {
return mtime;
}