[gnote] Fix build in debug mode



commit a6445bdbd273ef64e23b7ecdceb084496161b842
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Fri Jan 13 22:53:19 2017 +0200

    Fix build in debug mode

 src/synchronization/syncmanager.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/synchronization/syncmanager.cpp b/src/synchronization/syncmanager.cpp
index 738a41c..9d8d002 100644
--- a/src/synchronization/syncmanager.cpp
+++ b/src/synchronization/syncmanager.cpp
@@ -230,7 +230,7 @@ namespace sync {
         if(!find_note_by_uuid(iter.second.m_uuid) != 0) {
           NoteBase::Ptr existingNote = note_mgr().find(iter.second.m_title);
           if(existingNote != 0 && !iter.second.basically_equal_to(static_pointer_cast<Note>(existingNote))) {
-            DBG_OUT("Sync: Early conflict detection for '%s'", iter->second.m_title.c_str());
+            DBG_OUT("Sync: Early conflict detection for '%s'", iter.second.m_title.c_str());
             if(m_sync_ui != 0) {
               m_sync_ui->note_conflict_detected(static_pointer_cast<Note>(existingNote), iter.second, 
noteUpdateTitles);
             }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]