From ecd2b80e8ff67ccbb0fb98cc9afc48592bfdc66c Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 17 Dec 2014 06:42:26 -0800 Subject: [PATCH] Get rid of using declarations for header-only config --- format.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/format.cc b/format.cc index 48bbdad2..01380504 100644 --- a/format.cc +++ b/format.cc @@ -42,8 +42,6 @@ # include #endif -using fmt::LongLong; -using fmt::ULongLong; using fmt::internal::Arg; // Check if exceptions are disabled. @@ -418,10 +416,10 @@ template const uint64_t fmt::internal::BasicData::POWERS_OF_10_64[] = { 0, FMT_POWERS_OF_10(1), - FMT_POWERS_OF_10(ULongLong(1000000000)), + FMT_POWERS_OF_10(fmt::ULongLong(1000000000)), // Multiply several constants instead of using a single long long constant // to avoid warnings about C++98 not supporting long long. - ULongLong(1000000000) * ULongLong(1000000000) * 10 + fmt::ULongLong(1000000000) * fmt::ULongLong(1000000000) * 10 }; FMT_FUNC void fmt::internal::report_unknown_type(char code, const char *type) {