[gnote] Fix compiler warning
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Fix compiler warning
- Date: Sun, 17 Jul 2016 18:29:22 +0000 (UTC)
commit e472fbc865479a0959bb2d9c7f66683fde8c46ba
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Jul 17 18:07:35 2016 +0300
Fix compiler warning
src/synchronization/syncutils.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/synchronization/syncutils.cpp b/src/synchronization/syncutils.cpp
index 65c5ded..bf8aede 100644
--- a/src/synchronization/syncutils.cpp
+++ b/src/synchronization/syncutils.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2012-2014 Aurimas Cernius
+ * Copyright (C) 2012-2014,2016 Aurimas Cernius
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -68,7 +68,7 @@ namespace sync {
xml.load_buffer(m_xml_content);
NoteData *data = new NoteData(m_uuid);
NoteArchiver::obj().read(xml, *data);
- std::auto_ptr<NoteData> update_data(data);
+ std::unique_ptr<NoteData> update_data(data);
xml.close();
// NOTE: Mostly a hack to ignore missing version attributes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]