aboutsummaryrefslogtreecommitdiff
path: root/ports/sqlpp11/FixForMSVC.patch
diff options
context:
space:
mode:
authorPhil Christensen <philc@microsoft.com>2019-02-28 14:36:23 -0800
committerPhil Christensen <philc@microsoft.com>2019-02-28 14:36:23 -0800
commit773c8267dfb506f41c204f61042f30b6143a8095 (patch)
tree5946d1526c3ad77a2df80786a1370d96389d931b /ports/sqlpp11/FixForMSVC.patch
parent6afbceb27fd2aa39c66f810a22f5d4ad97575110 (diff)
parent7859944528be28bee1fda9f325b78d6a7f02124e (diff)
downloadvcpkg-773c8267dfb506f41c204f61042f30b6143a8095.tar.gz
vcpkg-773c8267dfb506f41c204f61042f30b6143a8095.zip
Merge branch 'master' of https://github.com/microsoft/vcpkg into dev/philc/4564
Diffstat (limited to 'ports/sqlpp11/FixForMSVC.patch')
-rw-r--r--ports/sqlpp11/FixForMSVC.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/ports/sqlpp11/FixForMSVC.patch b/ports/sqlpp11/FixForMSVC.patch
new file mode 100644
index 000000000..753590707
--- /dev/null
+++ b/ports/sqlpp11/FixForMSVC.patch
@@ -0,0 +1,24 @@
+diff --git a/include/sqlpp11/char_sequence.h b/include/sqlpp11/char_sequence.h
+index 5759525..96cdbd0 100644
+--- a/include/sqlpp11/char_sequence.h
++++ b/include/sqlpp11/char_sequence.h
+@@ -54,16 +54,16 @@ namespace sqlpp
+ }
+ };
+
+- template <std::size_t N, const char (&s)[N], typename T>
++ template <std::size_t N, const char* s, typename T>
+ struct make_char_sequence_impl;
+
+- template <std::size_t N, const char (&s)[N], std::size_t... i>
++ template <std::size_t N, const char* s, std::size_t... i>
+ struct make_char_sequence_impl<N, s, sqlpp::detail::index_sequence<i...>>
+ {
+ using type = char_sequence<s[i]...>;
+ };
+
+- template <std::size_t N, const char (&Input)[N]>
++ template <std::size_t N, const char* Input>
+ using make_char_sequence =
+ typename make_char_sequence_impl<N, Input, sqlpp::detail::make_index_sequence<N - 1>>::type;
+ } // namespace sqlpp