Commit a9e26159 authored by Victor Zverovich's avatar Victor Zverovich

Minor cleanup

parent efd8ee8a
cmake_minimum_required(VERSION 3.1.0) cmake_minimum_required(VERSION 3.1.0)
# Use newer policies if available, # Use newer policies if available, up to most recent tested version of CMake.
# up to most recent tested version of CMake
if(${CMAKE_VERSION} VERSION_LESS 3.11) if(${CMAKE_VERSION} VERSION_LESS 3.11)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}) cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
else() else()
cmake_policy(VERSION 3.11) cmake_policy(VERSION 3.11)
endif() endif()
# Determine if fmt is built as a subproject (using add_subdirectory) # Determine if fmt is built as a subproject (using add_subdirectory)
......
...@@ -1102,7 +1102,7 @@ class basic_format_args { ...@@ -1102,7 +1102,7 @@ class basic_format_args {
static_cast<unsigned long long>(-signed_types); static_cast<unsigned long long>(-signed_types);
if (index < num_args) if (index < num_args)
arg = args_[index]; arg = args_[index];
return arg;; return arg;
} }
if (index > internal::max_packed_args) if (index > internal::max_packed_args)
return arg; return arg;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment