[gnote] Remove redundant parameter from NoteBase
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Remove redundant parameter from NoteBase
- Date: Mon, 23 Dec 2019 16:40:39 +0000 (UTC)
commit b1612309620b23bf8261ce076a807a457d462195
Author: Aurimas Černius <aurisc4 gmail com>
Date: Mon Dec 23 18:20:55 2019 +0200
Remove redundant parameter from NoteBase
src/note.cpp | 2 +-
src/notebase.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/note.cpp b/src/note.cpp
index 3f109f09..900bf06c 100644
--- a/src/note.cpp
+++ b/src/note.cpp
@@ -247,7 +247,7 @@ namespace gnote {
}
Note::Note(NoteData * _data, const Glib::ustring & filepath, NoteManager & _manager, IGnote & g)
- : NoteBase(_data, filepath, _manager)
+ : NoteBase(filepath, _manager)
, m_gnote(g)
, m_data(_data)
, m_save_needed(false)
diff --git a/src/notebase.hpp b/src/notebase.hpp
index 8e769d7e..d5f55718 100644
--- a/src/notebase.hpp
+++ b/src/notebase.hpp
@@ -194,7 +194,7 @@ public:
static Glib::ustring url_from_path(const Glib::ustring &);
static std::vector<Glib::ustring> parse_tags(const xmlNodePtr tagnodes);
- NoteBase(NoteData *_data, const Glib::ustring & filepath, NoteManagerBase & manager);
+ NoteBase(const Glib::ustring & filepath, NoteManagerBase & manager);
NoteManagerBase & manager()
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]