Skip to content

Commit a9d84bb

Browse files
committed
style cleanup.
1 parent 89c69ca commit a9d84bb

File tree

6 files changed

+0
-10
lines changed

6 files changed

+0
-10
lines changed

benchmarks/benchmark.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ time_it_ns(std::vector<std::basic_string<CharT>> &lines, T const &function,
5353
std::vector<counters::event_count> aggregate;
5454
bool printed_bug = false;
5555
for (uint32_t i = 0; i != repeat; ++i) {
56-
5756
collector.start();
5857
auto const ts = function(lines);
5958
aggregate.push_back(collector.end());
@@ -135,7 +134,6 @@ time_it_ns(std::vector<std::basic_string<CharT>> &lines, T const &function,
135134
double min_value = DBL_MAX;
136135
bool printed_bug = false;
137136
for (size_t i = 0; i != repeat; ++i) {
138-
139137
t1 = std::chrono::high_resolution_clock::now();
140138
auto const ts = function(lines);
141139
t2 = std::chrono::high_resolution_clock::now();

include/fast_float/ascii_number.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,6 @@ template <typename T, typename UC>
537537
fastfloat_really_inline FASTFLOAT_CONSTEXPR20 from_chars_result_t<UC>
538538
parse_int_string(UC const *p, UC const *pend, T &value,
539539
parse_options_t<UC> const options) noexcept {
540-
541540
from_chars_result_t<UC> answer;
542541

543542
auto const *const first = p;

include/fast_float/fast_table.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ namespace fast_float {
2828
* of 5 greater than 308.
2929
*/
3030
template <class unused = void> struct powers_template {
31-
3231
constexpr static am_pow_t smallest_power_of_five =
3332
binary_format<double>::smallest_power_of_ten();
3433
constexpr static am_pow_t largest_power_of_five =

include/fast_float/parse_number.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ clinger_fast_path_impl(am_mant_t const mantissa, am_pow_t const exponent,
202202
bool const is_negative,
203203
#endif
204204
T &value) noexcept {
205-
206205
// The implementation of the Clinger's fast path is convoluted because
207206
// we want round-to-nearest in all cases, irrespective of the rounding mode
208207
// selected on the thread.
@@ -323,7 +322,6 @@ template <typename T, typename UC>
323322
FASTFLOAT_CONSTEXPR20 from_chars_result_t<UC>
324323
from_chars_float_advanced(UC const *first, UC const *last, T &value,
325324
parse_options_t<UC> const options) noexcept {
326-
327325
static_assert(is_supported_float_type<T>::value,
328326
"only some floating-point types are supported");
329327
static_assert(is_supported_char_type<UC>::value,
@@ -377,7 +375,6 @@ from_chars_float_advanced(UC const *first, UC const *last, T &value,
377375
template <typename T, typename UC, typename>
378376
FASTFLOAT_CONSTEXPR20 from_chars_result_t<UC>
379377
from_chars(UC const *first, UC const *last, T &value, int const base) noexcept {
380-
381378
static_assert(is_supported_integer_type<T>::value,
382379
"only integer types are supported");
383380
static_assert(is_supported_char_type<UC>::value,
@@ -498,7 +495,6 @@ template <typename T, typename UC>
498495
FASTFLOAT_CONSTEXPR20 from_chars_result_t<UC>
499496
from_chars_int_advanced(UC const *first, UC const *last, T &value,
500497
parse_options_t<UC> const options) noexcept {
501-
502498
static_assert(is_supported_integer_type<T>::value,
503499
"only integer types are supported");
504500
static_assert(is_supported_char_type<UC>::value,

tests/long_test.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ template <typename T> bool test() {
5151
}
5252

5353
int main() {
54-
5554
std::cout << "32 bits checks" << std::endl;
5655
Assert(test<float>());
5756

tests/random_string.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ bool tester(uint64_t seed, size_t volume) {
256256
}
257257

258258
int main() {
259-
260259
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__MINGW64__) || \
261260
defined(sun) || defined(__sun)
262261
std::cout << "Warning: msys/cygwin or solaris detected." << std::endl;

0 commit comments

Comments
 (0)