Now that fmt plays nice with gcc let's actually use it: replace std::to_string, boost lexical_cast and a couple miscellaneous llformats with fmt. (Alchemy sync-ish)
This commit is contained in:
@@ -53,7 +53,6 @@
|
||||
#pragma warning (default : 4264)
|
||||
#endif
|
||||
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
#include "lldaeloader.h"
|
||||
#include "llsdserialize.h"
|
||||
@@ -2380,7 +2379,7 @@ std::string LLDAELoader::getElementLabel(daeElement *element)
|
||||
|
||||
if (ind > 0)
|
||||
{
|
||||
index_string = "_" + boost::lexical_cast<std::string>(ind);
|
||||
index_string = "_" + fmt::to_string(ind);
|
||||
}
|
||||
|
||||
// if parent has a name or ID, use it
|
||||
|
||||
Reference in New Issue
Block a user