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



commit 73752471463102167837e5718b8ea58c080ddaa1
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun Apr 21 20:31:45 2019 +0300

    Replace std::list with std::vector in xsltargumentlist

 src/sharp/xsltargumentlist.hpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/sharp/xsltargumentlist.hpp b/src/sharp/xsltargumentlist.hpp
index 10f2abcd..fd712ec5 100644
--- a/src/sharp/xsltargumentlist.hpp
+++ b/src/sharp/xsltargumentlist.hpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2012,2017 Aurimas Cernius
+ * Copyright (C) 2012,2017,2019 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -29,8 +29,8 @@
 #ifndef __SHARP_XSLTARGUMENTLIST_HPP_
 #define __SHARP_XSLTARGUMENTLIST_HPP_
 
-#include <list>
 #include <utility>
+#include <vector>
 
 #include <glibmm/ustring.h>
 
@@ -40,7 +40,7 @@ namespace sharp {
 class XsltArgumentList
 {
 public:
-  typedef std::list<std::pair<Glib::ustring,Glib::ustring> > container_t;
+  typedef std::vector<std::pair<Glib::ustring,Glib::ustring> > container_t;
   typedef container_t::const_iterator const_iterator;
 
   /** add a string parameter */


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