In this commit, we address a bug that was causing a crash on Windows. The issue was due to the forward declaration of sqlite3 objects in the header files, which led to problems during destruction because the complete type information was unavailable at that point. To resolve this, we moved the default destructors for the Database and Statement classes from their respective headers to the implementation (.cpp) files. This ensures that the destructors have the full type information necessary for proper destruction, preventing the crash.
In this commit, we address a bug that was causing a crash on Windows. The issue was due to the forward declaration of sqlite3 objects in the header files, which led to problems during destruction because the complete type information was unavailable at that point. To resolve this, we moved the default destructors for the Database and Statement classes from their respective headers to the implementation (.cpp) files. This ensures that the destructors have the full type information necessary for proper destruction, preventing the crash.