Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
a9e26159
Commit
a9e26159
authored
Jul 17, 2018
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleanup
parent
efd8ee8a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
CMakeLists.txt
CMakeLists.txt
+3
-4
include/fmt/core.h
include/fmt/core.h
+1
-1
No files found.
CMakeLists.txt
View file @
a9e26159
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
()
...
...
include/fmt/core.h
View file @
a9e26159
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment