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 a1849e2 commit fac3344Copy full SHA for fac3344
hdr/sqlite_modern_cpp/type_wrapper.h
@@ -37,11 +37,11 @@
37
#endif
38
#ifdef MODERN_SQLITE_STRINGVIEW_SUPPORT
39
#include <string_view>
40
-#define STR_REF std::string_view
41
-#define U16STR_REF std::u16string_view
+typedef std::string_view STR_REF;
+typedef std::u16string_view U16STR_REF;
42
#else
43
-#define STR_REF std::string
44
-#define U16STR_REF std::u16string
+typedef std::string STR_REF;
+typedef std::u16string U16STR_REF;
45
46
#include <sqlite3.h>
47
#include "errors.h"
0 commit comments