Skip to content

Commit

Permalink
do not use locale-dependent std::to_string
Browse files Browse the repository at this point in the history
  • Loading branch information
martinus committed May 27, 2021
1 parent 1dbae03 commit 4714576
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/CODE_OF_CONDUCT.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@


<div class="version">
v4.3.2
v4.3.3
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/comparison.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@


<div class="version">
v4.3.2
v4.3.3
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@


<div class="version">
v4.3.2
v4.3.3
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@


<div class="version">
v4.3.2
v4.3.3
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@


<div class="version">
v4.3.2
v4.3.3
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@


<div class="version">
v4.3.2
v4.3.3
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@


<div class="version">
v4.3.2
v4.3.3
</div>


Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@


<div class="version">
v4.3.2
v4.3.3
</div>


Expand Down
2 changes: 1 addition & 1 deletion src/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
project = 'nanobench'
copyright = '2019-2021 Martin Ankerl <[email protected]>'
author = 'Martin Ankerl'
version = 'v4.3.2'
version = 'v4.3.3'

# -- General configuration ---------------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions src/include/nanobench.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
// see https://semver.org/
#define ANKERL_NANOBENCH_VERSION_MAJOR 4 // incompatible API changes
#define ANKERL_NANOBENCH_VERSION_MINOR 3 // backwards-compatible changes
#define ANKERL_NANOBENCH_VERSION_PATCH 2 // backwards-compatible bug fixes
#define ANKERL_NANOBENCH_VERSION_PATCH 3 // backwards-compatible bug fixes

///////////////////////////////////////////////////////////////////////////////////////////////////
// public facing api - as minimal as possible
Expand Down Expand Up @@ -3266,7 +3266,7 @@ Rng::Rng(std::vector<uint64_t> const& data)
, mY(0) {
if (data.size() != 2) {
throw std::runtime_error("ankerl::nanobench::Rng::Rng: needed exactly 2 entries in data, but got " +
std::to_string(data.size()));
detail::fmt::to_s(data.size()));
}
mX = data[0];
mY = data[1];
Expand Down

0 comments on commit 4714576

Please sign in to comment.