Rip out old workarounds, hacks and macros for newer C++ features not being supported back in the day.

Adds LL_COMPILE_TIME_MESSAGE support to Linux.

llfinite -> std::isfinite
llisnan -> std::isnan
vector_shrink_to_fit -> vector.shrink_to_fit
This commit is contained in:
Lirusaito
2016-02-14 17:37:10 -05:00
parent 379543a405
commit 6e3f404a1c
38 changed files with 98 additions and 299 deletions

View File

@@ -326,7 +326,7 @@ void LLTemplateMessageReader::getF32(const char *block, const char *var,
{
getData(block, var, &d, sizeof(F32), blocknum);
if( !llfinite( d ) )
if( !std::isfinite( d ) )
{
LL_WARNS() << "non-finite in getF32Fast " << block << " " << var
<< LL_ENDL;
@@ -339,7 +339,7 @@ void LLTemplateMessageReader::getF64(const char *block, const char *var,
{
getData(block, var, &d, sizeof(F64), blocknum);
if( !llfinite( d ) )
if( !std::isfinite( d ) )
{
LL_WARNS() << "non-finite in getF64Fast " << block << " " << var
<< LL_ENDL;