Skip to content

Commit aeb535f

Browse files
authored
Merge pull request #209 from Morwenn/develop
Release 1.13.1
2 parents b3ce19e + b0de0fa commit aeb535f

File tree

106 files changed

+3557
-3004
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+3557
-3004
lines changed

.github/workflows/build-macos.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ on:
2323

2424
jobs:
2525
build:
26-
runs-on: macos-10.15
26+
runs-on: macos-11
2727

2828
strategy:
2929
fail-fast: false
3030
matrix:
3131
cxx:
32-
- g++-9
33-
- $(brew --prefix llvm)/bin/clang++ # Clang 11
32+
- g++-10
33+
- clang++
3434
config:
3535
# Release build
3636
- build_type: Release
@@ -41,8 +41,7 @@ jobs:
4141
sanitize: undefined
4242

4343
steps:
44-
- uses: actions/checkout@v2
45-
- uses: seanmiddleditch/gha-setup-ninja@master
44+
- uses: actions/checkout@v3
4645

4746
- name: Configure CMake
4847
working-directory: ${{runner.workspace}}
@@ -52,7 +51,6 @@ jobs:
5251
-DCMAKE_CONFIGURATION_TYPES=${{matrix.config.build_type}} \
5352
-DCMAKE_BUILD_TYPE=${{matrix.config.build_type}} \
5453
-DCPPSORT_SANITIZE=${{matrix.config.sanitize}} \
55-
-GNinja \
5654
-DCPPSORT_BUILD_EXAMPLES=ON
5755
5856
- name: Build the test suite

.github/workflows/build-mingw.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
build_type: [Debug, Release]
3232

3333
steps:
34-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v3
3535

3636
- name: Configure CMake
3737
shell: pwsh

.github/workflows/build-msvc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
build_type: [Debug, Release]
3232

3333
steps:
34-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v3
3535

3636
- name: Configure CMake
3737
shell: pwsh

.github/workflows/build-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
sanitize: undefined
4444

4545
steps:
46-
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v3
4747

4848
- name: Install GCC
4949
if: ${{matrix.cxx == 'g++-5'}}

.github/workflows/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Checkout project
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v3
2727

2828
- name: Install LCOV
2929
run: sudo apt-get install -y lcov

.github/workflows/deploy-to-wiki.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818

1919
steps:
2020
- name: Checkout /docs
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222
with:
2323
repository: ${{github.repository}}
2424
path: main
2525

2626
- name: Checkout wiki
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2828
with:
2929
repository: ${{github.repository}}.wiki
3030
path: wiki

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (c) 2015-2021 Morwenn
1+
# Copyright (c) 2015-2022 Morwenn
22
# SPDX-License-Identifier: MIT
33

44
# Usual build directory
5-
build
5+
build*
66

77
# Benchmark results directories
88
results

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Copyright (c) 2015-2021 Morwenn
1+
# Copyright (c) 2015-2022 Morwenn
22
# SPDX-License-Identifier: MIT
33

44
cmake_minimum_required(VERSION 3.8.0)
55

66
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
77

8-
project(cpp-sort VERSION 1.13.0 LANGUAGES CXX)
8+
project(cpp-sort VERSION 1.13.1 LANGUAGES CXX)
99

1010
include(CMakePackageConfigHelpers)
1111
include(GNUInstallDirs)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![cpp-sort logo](docs/images/cpp-sort-logo.svg)
22

3-
[![Latest Release](https://img.shields.io/badge/release-1.13.0-blue.svg)](https://github.com/Morwenn/cpp-sort/releases/tag/1.13.0)
4-
[![Conan Package](https://img.shields.io/badge/conan-cpp--sort%2F1.13.0-blue.svg)](https://conan.io/center/cpp-sort?version=1.13.0)
3+
[![Latest Release](https://img.shields.io/badge/release-1.13.1-blue.svg)](https://github.com/Morwenn/cpp-sort/releases/tag/1.13.1)
4+
[![Conan Package](https://img.shields.io/badge/conan-cpp--sort%2F1.13.1-blue.svg)](https://conan.io/center/cpp-sort?version=1.13.1)
55
[![Code Coverage](https://codecov.io/gh/Morwenn/cpp-sort/branch/develop/graph/badge.svg)](https://codecov.io/gh/Morwenn/cpp-sort)
66
[![Pitchfork Layout](https://img.shields.io/badge/standard-PFL-orange.svg)](https://github.com/vector-of-bool/pitchfork)
77

benchmarks/benchmarking-tools/distributions.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015-2021 Morwenn
2+
* Copyright (c) 2015-2022 Morwenn
33
* SPDX-License-Identifier: MIT
44
*/
55
#include <algorithm>
@@ -13,6 +13,7 @@
1313
#include <cpp-sort/detail/type_traits.h>
1414
#include <cpp-sort/utility/as_function.h>
1515
#include <cpp-sort/utility/functional.h>
16+
#include <cpp-sort/utility/functional.h>
1617

1718
// Pseudo-random number generator, used by some distributions
1819
thread_local std::mt19937_64 distributions_prng(std::time(nullptr));
@@ -400,9 +401,10 @@ namespace dist
400401
static constexpr const char* output = "vergesort_killer.txt";
401402
};
402403

403-
struct as_long_string
404+
struct as_long_string:
405+
cppsort::utility::projection_base
404406
{
405-
auto operator()(long long int value)
407+
auto operator()(long long int value) const
406408
-> std::string
407409
{
408410
auto str = std::to_string(value);

0 commit comments

Comments
 (0)