Commit 5b3dd628 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Fix build with clang

parent 4b0318e3
......@@ -11,7 +11,7 @@ class IMetadataService;
class IMovie;
class IShow;
class IShowEpisode;
class sqlite3;
struct sqlite3;
typedef std::shared_ptr<IFile> FilePtr;
typedef std::shared_ptr<ILabel> LabelPtr;
......
......@@ -81,7 +81,7 @@ class SqliteTools
{
auto dbConnection = dbConnectionWeak.lock();
if ( dbConnection == nullptr )
return false;
return nullptr;
std::shared_ptr<T> result;
auto stmt = prepareRequest( dbConnection, req, args... );
......
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