Skip to content

Commit 39f80d4

Browse files
committed
Added inline to avoid redefinition
1 parent 1f654b3 commit 39f80d4

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
@@ -443,7 +443,7 @@ namespace sqlite {
443443
PRIVATECACH = SQLITE_OPEN_PRIVATECACHE,
444444
URI = SQLITE_OPEN_URI
445445
};
446-
OpenFlags operator|(const OpenFlags& a, const OpenFlags& b) {
446+
inline OpenFlags operator|(const OpenFlags& a, const OpenFlags& b) {
447447
return static_cast<OpenFlags>(static_cast<int>(a) | static_cast<int>(b));
448448
};
449449
enum class Encoding {

0 commit comments

Comments
 (0)