mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-23 09:49:42 +00:00
Minor cleanup
This commit is contained in:
parent
efd8ee8a7f
commit
a9e261599b
@ -1,11 +1,10 @@
|
||||
cmake_minimum_required(VERSION 3.1.0)
|
||||
|
||||
# Use newer policies if available,
|
||||
# up to most recent tested version of CMake
|
||||
# Use newer policies if available, up to most recent tested version of CMake.
|
||||
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()
|
||||
cmake_policy(VERSION 3.11)
|
||||
cmake_policy(VERSION 3.11)
|
||||
endif()
|
||||
|
||||
# Determine if fmt is built as a subproject (using add_subdirectory)
|
||||
|
@ -1102,7 +1102,7 @@ class basic_format_args {
|
||||
static_cast<unsigned long long>(-signed_types);
|
||||
if (index < num_args)
|
||||
arg = args_[index];
|
||||
return arg;;
|
||||
return arg;
|
||||
}
|
||||
if (index > internal::max_packed_args)
|
||||
return arg;
|
||||
|
Loading…
Reference in New Issue
Block a user