[Xfce4-commits] [panel-plugins/xfce4-whiskermenu-plugin] 11/20: Use unordered_map.

noreply at xfce.org noreply at xfce.org
Thu Feb 6 12:03:28 CET 2020


This is an automated email from the git hooks/post-receive script.

g   o   t   t   c   o   d   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-whiskermenu-plugin.

commit b49a3e884c8402128ba4d85b82eb640f636870b5
Author: Graeme Gott <graeme at gottcode.org>
Date:   Sat Feb 1 20:23:06 2020 -0500

    Use unordered_map.
---
 panel-plugin/applications-page.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/applications-page.h b/panel-plugin/applications-page.h
index b68579d..cefd71a 100644
--- a/panel-plugin/applications-page.h
+++ b/panel-plugin/applications-page.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2013, 2015, 2017, 2018, 2020 Graeme Gott <graeme at gottcode.org>
+ * Copyright (C) 2013-2020 Graeme Gott <graeme at gottcode.org>
  *
  * This library is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -20,8 +20,8 @@
 
 #include "page.h"
 
-#include <map>
 #include <string>
+#include <unordered_map>
 #include <vector>
 
 #include <garcon/garcon.h>
@@ -69,7 +69,7 @@ private:
 	GarconMenu* m_garcon_menu;
 	GarconMenu* m_garcon_settings_menu;
 	std::vector<Category*> m_categories;
-	std::map<std::string, Launcher*> m_items;
+	std::unordered_map<std::string, Launcher*> m_items;
 	int m_load_status;
 };
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list