Skip to content

Commit

Permalink
Merge pull request #208 from boostorg/equals
Browse files Browse the repository at this point in the history
Fix Clang 3.6 auto type deduction
  • Loading branch information
mborland committed Jun 21, 2024
2 parents 1889937 + 45c870d commit 9db7af7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,20 @@ local windows_pipeline(name, image, environment, arch = "amd64") =
"g++-13-multilib",
),

linux_pipeline(
"Linux 16.04 Clang 3.6",
"cppalliance/droneubuntu1604:1",
{ TOOLSET: 'clang', COMPILER: 'clang++-3.6', CXXSTD: '03,11' },
"clang-3.6",
),

linux_pipeline(
"Linux 16.04 Clang 3.7",
"cppalliance/droneubuntu1604:1",
{ TOOLSET: 'clang', COMPILER: 'clang++-3.7', CXXSTD: '03,11' },
"clang-3.7",
),

linux_pipeline(
"Linux 16.04 Clang 3.8",
"cppalliance/droneubuntu1604:1",
Expand Down
2 changes: 1 addition & 1 deletion src/to_chars_float_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ to_chars_result to_chars_fixed_impl(char* first, char* last, Real value, chars_f
// Add additional zeros as needed
if (value_struct.exponent > 0)
{
const auto zeros_to_append {static_cast<std::size_t>(value_struct.exponent)};
const auto zeros_to_append = static_cast<std::size_t>(value_struct.exponent);

if (zeros_to_append > static_cast<std::size_t>(last - r.ptr))
{
Expand Down

0 comments on commit 9db7af7

Please sign in to comment.