Skip to content

Commit c14735f

Browse files
committed
Maybe fix travis
1 parent 89220f7 commit c14735f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hdr/sqlite_modern_cpp/type_wrapper.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,14 @@ namespace sqlite {
166166
inline void store_result_in_db(sqlite3_context* db, std::nullptr_t) {
167167
sqlite3_result_null(db);
168168
}
169+
#ifdef MODERN_SQLITE_STD_VARIANT_SUPPORT
169170
inline int bind_col_in_db(sqlite3_stmt* stmt, int inx, std::monostate) {
170171
return sqlite3_bind_null(stmt, inx);
171172
}
172173
inline void store_result_in_db(sqlite3_context* db, std::monostate) {
173174
sqlite3_result_null(db);
174175
}
176+
#endif
175177

176178
// str_ref
177179
template<>

0 commit comments

Comments
 (0)