aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-02-03 15:52:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-02-03 15:52:42 +0200
commit20d2fe275956aaa289d69766e32bfea58d0121c7 (patch)
tree6fdd1e5275221ae34f0f3b131038318793cbabbf
parent4a326c04d6c59b9236f1129eb139b470cb46ed1e (diff)
Exclude specializations that cause MSVC errors
-rw-r--r--odb/c-array-traits.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/c-array-traits.hxx b/odb/c-array-traits.hxx
index 1acc0d7..44d5bb9 100644
--- a/odb/c-array-traits.hxx
+++ b/odb/c-array-traits.hxx
@@ -88,6 +88,7 @@ namespace odb
// Disable for char[N] and wchar_t[N].
//
+#ifdef ODB_COMPILER
template <std::size_t N>
class access::container_traits<char[N]>;
@@ -95,6 +96,7 @@ namespace odb
template <std::size_t N>
class access::container_traits<wchar_t[N]>;
#endif
+#endif
}
#include <odb/post.hxx>