[gnote] Fix tests
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix tests
- Date: Thu, 26 Dec 2019 13:59:04 +0000 (UTC)
commit 70aaeea9982ad04c774cb9c784fb6cb98fff1a84
Author: Aurimas Černius <aurisc4 gmail com>
Date: Thu Dec 26 15:58:33 2019 +0200
Fix tests
src/test/testsyncaddin.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/test/testsyncaddin.cpp b/src/test/testsyncaddin.cpp
index 40879111..10f9cdd0 100644
--- a/src/test/testsyncaddin.cpp
+++ b/src/test/testsyncaddin.cpp
@@ -31,7 +31,7 @@ SyncAddin::SyncAddin(const Glib::ustring & sync_path)
gnote::sync::SyncServer::Ptr SyncAddin::create_sync_server()
{
- return gnote::sync::FileSystemSyncServer::create(Gio::File::create_for_path(m_sync_path), "test");
+ return std::make_shared<gnote::sync::FileSystemSyncServer>(Gio::File::create_for_path(m_sync_path),
"test");
}
void SyncAddin::post_sync_cleanup()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]