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:
@@ -142,11 +142,7 @@ void LLDate::toStream(std::ostream& s) const
|
||||
}
|
||||
|
||||
s << std::dec << std::setfill('0');
|
||||
#if( LL_WINDOWS || __GNUC__ > 2)
|
||||
s << std::right;
|
||||
#else
|
||||
s.setf(ios::right);
|
||||
#endif
|
||||
s << std::setw(4) << (exp_time.tm_year + 1900)
|
||||
<< '-' << std::setw(2) << (exp_time.tm_mon + 1)
|
||||
<< '-' << std::setw(2) << (exp_time.tm_mday)
|
||||
|
||||
Reference in New Issue
Block a user