[gnote] Replace std::list with std::vector in noteaddin



commit 919433b2933e7ecd4c8d7f312f87ecfcc09653db
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Apr 28 17:27:12 2019 +0300

    Replace std::list with std::vector in noteaddin

 src/noteaddin.hpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/noteaddin.hpp b/src/noteaddin.hpp
index 9725cf64..93f27d01 100644
--- a/src/noteaddin.hpp
+++ b/src/noteaddin.hpp
@@ -24,7 +24,6 @@
 #ifndef __NOTE_ADDIN_HPP_
 #define __NOTE_ADDIN_HPP_
 
-#include <list>
 #include <map>
 
 #include <sigc++/connection.h>
@@ -118,7 +117,7 @@ private:
 
   Note::Ptr                     m_note;
   sigc::connection              m_note_opened_cid;
-  std::list<Gtk::Widget*>       m_text_menu_items;
+  std::vector<Gtk::Widget*>     m_text_menu_items;
   typedef std::map<Gtk::ToolItem*, int> ToolItemMap;
   ToolItemMap                   m_toolbar_items;
   typedef std::pair<Glib::ustring, sigc::slot<void, const Glib::VariantBase&>> ActionCallback;


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