[gnote] Remove FOREACH from notebookmanager



commit 7b78d2e22ed7956ae93341dcea6c5db1610ffb44
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Apr 7 18:39:26 2019 +0300

    Remove FOREACH from notebookmanager

 src/notebooks/notebookmanager.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/notebooks/notebookmanager.cpp b/src/notebooks/notebookmanager.cpp
index d796fe2c..f5205b2b 100644
--- a/src/notebooks/notebookmanager.cpp
+++ b/src/notebooks/notebookmanager.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2010-2014,2017 Aurimas Cernius
+ * Copyright (C) 2010-2014,2017,2019 Aurimas Cernius
  * Copyright (C) 2010 Debarshi Ray
  * Copyright (C) 2009 Hubert Figuiere
  *
@@ -194,7 +194,7 @@ namespace gnote {
         if(tag) {
           tag->get_notes(notes);
         }
-        FOREACH(NoteBase *note, notes) {
+        for(NoteBase *note : notes) {
           note->remove_tag (notebook->get_tag());
           m_note_removed_from_notebook (*static_cast<Note*>(note), notebook);
         }


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