summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-19 23:19:46 +0100
committerMax Kellermann <max@musicpd.org>2018-01-19 23:19:46 +0100
commit3ca80a73367bfbf8531ab1f38b8ec1cf2a66703e (patch)
treeb5884c9764145759a1dacb4b2d908a633fce410d /src
parentd029dae7adcb771e4d4f59b9f42d1f01337d690d (diff)
util/RefCount, db/simple/Mount: remove obsolete libc++ workarounds
No longer a problem with NDK r16.
Diffstat (limited to 'src')
-rw-r--r--src/db/plugins/simple/Mount.cxx7
-rw-r--r--src/util/RefCount.hxx5
2 files changed, 0 insertions, 12 deletions
diff --git a/src/db/plugins/simple/Mount.cxx b/src/db/plugins/simple/Mount.cxx
index c07b67abc..1945b74c6 100644
--- a/src/db/plugins/simple/Mount.cxx
+++ b/src/db/plugins/simple/Mount.cxx
@@ -25,13 +25,6 @@
#include "db/Interface.hxx"
#include "fs/Traits.hxx"
-#ifdef _LIBCPP_VERSION
-/* workaround for "error: incomplete type 'PlaylistInfo' used in type
- trait expression" with libc++ version 3900 (from Android NDK
- r13b) */
-#include "db/PlaylistInfo.hxx"
-#endif
-
#include <string>
struct PrefixedLightDirectory : LightDirectory {
diff --git a/src/util/RefCount.hxx b/src/util/RefCount.hxx
index 8faf839f1..a3466eb9a 100644
--- a/src/util/RefCount.hxx
+++ b/src/util/RefCount.hxx
@@ -42,11 +42,6 @@ class RefCount {
std::atomic_uint n;
public:
-#ifndef _LIBCPP_VERSION
- /* the "constexpr" is missing in libc++'s "atomic"
- implementation */
- constexpr
-#endif
RefCount():n(1) {}
void Increment() {