Specialise the convert template to long for Solaris.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9457 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-01-07 17:54:12 +00:00
parent aab625bdb9
commit abe485494e
2 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,10 @@
2005-01-07 Angus Leeming <leeming@lyx.org>
* convert.C (string>): add specialization for long.
2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
* convert.h: remove the specializations, dont included unneeded
* convert.h: remove the specializations, don't included unneeded
headers
* convert.C: add specialization for unsigned long

View File

@ -64,6 +64,13 @@ string convert<string>(unsigned long ul)
}
template<>
string convert<string>(long l)
{
return lexical_cast<string>(l);
}
template<>
string convert<string>(float f)
{