Commit a77a4f85 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fixed crash with AbstractDB, TODO investigate why it was crashing and this makes it work...

parent f3085105
......@@ -46,7 +46,7 @@ LINPHONE_BEGIN_NAMESPACE
// -----------------------------------------------------------------------------
MainDb::MainDb (const shared_ptr<Core> &core) : CoreAccessor(core), AbstractDb(*new MainDbPrivate) {}
MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate), CoreAccessor(core) {}
#ifdef SOCI_ENABLED
......
......@@ -35,7 +35,7 @@ class Core;
class EventLog;
class MainDbPrivate;
class LINPHONE_PUBLIC MainDb : public CoreAccessor, public AbstractDb {
class LINPHONE_PUBLIC MainDb : public AbstractDb, public CoreAccessor {
public:
enum Filter {
NoFilter = 0x0,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment