Commit e472fbc8 authored by Aurimas Černius's avatar Aurimas Černius

Fix compiler warning

parent 3cec24c1
* 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 {
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);
// NOTE: Mostly a hack to ignore missing version attributes
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