aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-20 17:21:24 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-20 17:21:24 +0000
commit08d30377733c4c59ecb8d806a7ba2faf4388081d (patch)
tree72caff6ca0474ced294337efbf782a5b2468643c
parent55e248b0584abe1592423d7f4ce8520ea02a242c (diff)
downloadpaludis-08d30377733c4c59ecb8d806a7ba2faf4388081d.tar.gz
paludis-08d30377733c4c59ecb8d806a7ba2faf4388081d.tar.xz
Intel's compiler handles partial specialisation slightly differently. Make the char * to string type conversion work.
-rw-r--r--paludis/util/smart_record.hh.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/paludis/util/smart_record.hh.m4 b/paludis/util/smart_record.hh.m4
index 359bcdd..dd00309 100644
--- a/paludis/util/smart_record.hh.m4
+++ b/paludis/util/smart_record.hh.m4
@@ -150,6 +150,11 @@ forloop(`idx', `0', max_record_size, `
typedef std::string Type;
};
+ template <unsigned i_>
+ struct CharStarToString<const char [i_]>
+ {
+ typedef std::string Type;
+ };
template <>
struct CharStarToString<char *>