summaryrefslogtreecommitdiff
path: root/src/db/Interface.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-06-03 21:54:21 +0200
committerMax Kellermann <max@musicpd.org>2017-06-03 21:54:24 +0200
commit62b03cfddf74c25d0b8187ce5e56d31ef49667b7 (patch)
tree25a2822fabaf5aacb978770998d099731eff11f9 /src/db/Interface.hxx
parent18b827b979d6d1f739770af8a6e6a2c1ae361859 (diff)
storage, db, mixer, command: remove more bogus "pure" attributes
This commit is similar to 788e3b31e1ab8243386339eaf136ede18f015d55, and removes more "pure" attributes which were placed on functions that could throw exceptions, which is illegal according to clang's understanding of the attribute (but not according to GCC's). GitHub issue #58 was most likely about StorageDirectoryReader::GetInfo() and Storage::GetInfo(), which still had "pure" attributes. Closes #58
Diffstat (limited to 'src/db/Interface.hxx')
-rw-r--r--src/db/Interface.hxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/db/Interface.hxx b/src/db/Interface.hxx
index 4e01c42ce..a81d985a6 100644
--- a/src/db/Interface.hxx
+++ b/src/db/Interface.hxx
@@ -106,7 +106,6 @@ public:
TagType tag_type, tag_mask_t group_mask,
VisitTag visit_tag) const = 0;
- gcc_pure
virtual DatabaseStats GetStats(const DatabaseSelection &selection) const = 0;
/**