We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f911b commit 3a71e95Copy full SHA for 3a71e95
hdr/sqlite_modern_cpp/type_wrapper.h
@@ -353,8 +353,12 @@ namespace sqlite {
353
return variant_select_type<SQLITE_TEXT, Options...>(std::forward<Callback>(callback));
354
case SQLITE_BLOB:
355
return variant_select_type<SQLITE_BLOB, Options...>(std::forward<Callback>(callback));
356
- default:;
357
}
+#ifdef _MSC_VER
358
+ __assume(false);
359
+#else
360
+ __builtin_unreachable();
361
+#endif
362
363
364
template <typename ...Args> inline int bind_col_in_db(sqlite3_stmt* stmt, int inx, const std::variant<Args...>& val) {
0 commit comments