Rework getting database version (#469)
It seems we don't get the correct database version in some case with some compilers, optimization flags. Suspecting some stale ->c_str().
This commit is contained in:
@ -113,7 +113,8 @@ const char*
|
||||
mu_store_version (const MuStore *store)
|
||||
{
|
||||
g_return_val_if_fail (store, NULL);
|
||||
return store->version().c_str();
|
||||
|
||||
return store->version();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user