[gnote] Remove FOREACH from RemoteControl
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Remove FOREACH from RemoteControl
- Date: Sun, 7 Apr 2019 16:43:20 +0000 (UTC)
commit fcc852257ce5a07d3a7a61d17e34032eeb692818
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Apr 7 18:08:09 2019 +0300
Remove FOREACH from RemoteControl
src/dbus/remotecontrol.cpp | 4 ++--
src/dbus/remotecontrol.hpp | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/dbus/remotecontrol.cpp b/src/dbus/remotecontrol.cpp
index a90cfdd8..1b431312 100644
--- a/src/dbus/remotecontrol.cpp
+++ b/src/dbus/remotecontrol.cpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2011-2014,2016-2017 Aurimas Cernius
+ * Copyright (C) 2011-2014,2016-2017,2019 Aurimas Cernius
* Copyright (C) 2009 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
@@ -173,7 +173,7 @@ namespace gnote {
std::vector<Glib::ustring> tagged_note_uris;
std::list<NoteBase*> notes;
tag->get_notes(notes);
- FOREACH(NoteBase *iter, notes) {
+ for(NoteBase *iter : notes) {
tagged_note_uris.push_back(iter->uri());
}
return tagged_note_uris;
diff --git a/src/dbus/remotecontrol.hpp b/src/dbus/remotecontrol.hpp
index 59ea079f..7d82000c 100644
--- a/src/dbus/remotecontrol.hpp
+++ b/src/dbus/remotecontrol.hpp
@@ -1,7 +1,7 @@
/*
* gnote
*
- * Copyright (C) 2011-2014,2017 Aurimas Cernius
+ * Copyright (C) 2011-2014,2017,2019 Aurimas Cernius
* Copyright (C) 2009 Hubert Figuiere
*
* This program is free software: you can redistribute it and/or modify
@@ -25,7 +25,6 @@
#include <giomm/dbusconnection.h>
-#include "base/macros.hpp"
#include "dbus/iremotecontrol.hpp"
#include "mainwindow.hpp"
#include "note.hpp"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]