SRombauts / SQLiteCpp

SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.
http://srombauts.github.io/SQLiteCpp
MIT License
2.22k stars 510 forks source link

tests/Database_test.cpp: fix a warning around `#endif` #489

Closed trofi closed 1 month ago

trofi commented 1 month ago

Without the change gcc detects unexpected tokens as:

/build/source/tests/Database_test.cpp:566:9: warning: extra tokens at end of #endif directive [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wendif-labels-Wendif-labels8;;]
  566 | #endif  && !defined(__APPLE__)
      |         ^~
SRombauts commented 1 month ago

Thanks!