]> git.lyx.org Git - lyx.git/commitdiff
Add missing convert<> specialization for unsigned long.
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 13 Oct 2006 15:35:18 +0000 (15:35 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Fri, 13 Oct 2006 15:35:18 +0000 (15:35 +0000)
This is needed on OS X.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15323 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/convert.C

index bd8dc2ec17716066c2aadfdd967f24223d7dfd52..a3014fe41864d7d77def4d9b56fd8ed00cfbcec9 100644 (file)
@@ -82,6 +82,13 @@ string convert<string>(unsigned long ul)
 }
 
 
+template<>
+docstring convert<docstring>(unsigned long ul)
+{
+       return lyx::from_ascii(lexical_cast<string>(ul));
+}
+
+
 template<>
 string convert<string>(long l)
 {