Re: 'c4Internal::Database' has protected destructor

2018-05-27 Thread Adam Wilson
Looking into the library code a bit more, I realised I just need to use the C4Database subclass. On Sunday, 27 May 2018 10:07:55 UTC+1, Adam Wilson wrote: > > I'm using LiteCoreStatic lib in a C++ project, and hit this compilation > error: > > 'c4Internal::Database' has prote

'c4Internal::Database' has protected destructor

2018-05-27 Thread Adam Wilson
I'm using LiteCoreStatic lib in a C++ project, and hit this compilation error: 'c4Internal::Database' has protected destructor My sample code: #include "Database.hh" static const C4DatabaseConfig kDBConfig = { .flags = (kC4DB_Create | kC4DB_AutoCompact | kC4DB_