Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=b3587889e0ce6b34ca5779e762ad2d2bebad6748

commit b3587889e0ce6b34ca5779e762ad2d2bebad6748
Author: Michel Hermier <herm...@frugalware.org>
Date:   Mon Oct 27 10:16:28 2014 +0100

libpacman: Add small flib::str_set class wrapper.

diff --git a/lib/libpacman/util/fstrset.h b/lib/libpacman/util/fstrset.h
new file mode 100644
index 0000000..b8e0a0e
--- /dev/null
+++ b/lib/libpacman/util/fstrset.h
@@ -0,0 +1,39 @@
+/*
+ *  fstrset.h
+ *
+ *  Copyright (c) 2014 by Michel Hermier <herm...@frugalware.org>
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ *  USA.
+ */
+#ifndef F_STRSET_H
+#define F_STRSET_H
+
+#include "kernel/fstr.h"
+#include "util/fset.h"
+
+namespace flib
+{
+       class str_set
+               : public set<str>
+       {
+       public:
+               using set::set;
+       };
+} // namespace flib
+
+#endif /* F_STRSET_H */
+
+/* vim: set ts=2 sw=2 noet: */
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to