Skip to content

Commit 4bce44d

Browse files
author
Marcin Sobieszczanski
committed
fix index_binding_helper in MSVC
1 parent 66b2285 commit 4bce44d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hdr/sqlite_modern_cpp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace sqlite {
2929
template<class T, bool Name = false>
3030
struct index_binding_helper {
3131
index_binding_helper(const index_binding_helper &) = delete;
32-
#if __cplusplus < 201703
32+
#if __cplusplus < 201703 || _MSVC_LANG <= 201703
3333
index_binding_helper(index_binding_helper &&) = default;
3434
#endif
3535
typename std::conditional<Name, const char *, int>::type index;

0 commit comments

Comments
 (0)