From 255501fa772248034431d87db9932a00b3501b0f Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Fri, 13 Oct 2006 15:35:18 +0000 Subject: [PATCH] Add missing convert<> specialization for unsigned long. 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/support/convert.C b/src/support/convert.C index bd8dc2ec17..a3014fe418 100644 --- a/src/support/convert.C +++ b/src/support/convert.C @@ -82,6 +82,13 @@ string convert(unsigned long ul) } +template<> +docstring convert(unsigned long ul) +{ + return lyx::from_ascii(lexical_cast(ul)); +} + + template<> string convert(long l) {