aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-11 19:00:06 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-02-11 23:20:29 +0000
commit7dc87d472b4ecf9fde1be7a0426de3a74a223ab8 (patch)
tree727e024dd67d5a1ec31634db250c1d513a033fc2
parentb2801ae8787679c7a330f32c42b7face58f5e73b (diff)
downloadpaludis-7dc87d472b4ecf9fde1be7a0426de3a74a223ab8.tar.gz
paludis-7dc87d472b4ecf9fde1be7a0426de3a74a223ab8.tar.xz
Explicitly instantiate Set<std::string>
-rw-r--r--paludis/util/files.m42
-rw-r--r--paludis/util/set.cc25
2 files changed, 26 insertions, 1 deletions
diff --git a/paludis/util/files.m4 b/paludis/util/files.m4
index c2f7d4c..8b790da 100644
--- a/paludis/util/files.m4
+++ b/paludis/util/files.m4
@@ -59,7 +59,7 @@ add(`safe_ofstream', `hh', `cc', `test', `testscript')
add(`save', `hh', `test')
add(`select', `hh')
add(`sequence', `hh', `fwd', `impl', `cc')
-add(`set', `hh', `fwd', `impl')
+add(`set', `hh', `fwd', `impl', `cc')
add(`sha1', `hh', `cc', `test')
add(`sha256', `hh', `cc', `test')
add(`simple_parser', `hh', `cc')
diff --git a/paludis/util/set.cc b/paludis/util/set.cc
new file mode 100644
index 0000000..cc7e01f
--- /dev/null
+++ b/paludis/util/set.cc
@@ -0,0 +1,25 @@
+/* vim: set sw=4 sts=4 et foldmethod=syntax : */
+
+/*
+ * Copyright (c) 2009 Ciaran McCreesh
+ *
+ * This file is part of the Paludis package manager. Paludis is free software;
+ * you can redistribute it and/or modify it under the terms of the GNU General
+ * Public License version 2, as published by the Free Software Foundation.
+ *
+ * Paludis 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
+ */
+
+#include <paludis/util/set-impl.hh>
+
+using namespace paludis;
+
+template class Set<std::string>;
+