mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-07 05:10:39 +02:00
suppress compiler warnings
This commit is contained in:
parent
50eeba4005
commit
85a6b5b95e
@ -9,7 +9,10 @@ class ClusterFixture : public benchmark::Fixture {
|
|||||||
Cluster<int, 2, 2> cluster_2x2{};
|
Cluster<int, 2, 2> cluster_2x2{};
|
||||||
Cluster<int, 3, 3> cluster_3x3{};
|
Cluster<int, 3, 3> cluster_3x3{};
|
||||||
|
|
||||||
void SetUp(::benchmark::State &state) {
|
private:
|
||||||
|
using benchmark::Fixture::SetUp;
|
||||||
|
|
||||||
|
void SetUp([[maybe_unused]] const benchmark::State &state) override {
|
||||||
int temp_data[4] = {1, 2, 3, 1};
|
int temp_data[4] = {1, 2, 3, 1};
|
||||||
std::copy(std::begin(temp_data), std::end(temp_data),
|
std::copy(std::begin(temp_data), std::end(temp_data),
|
||||||
std::begin(cluster_2x2.data));
|
std::begin(cluster_2x2.data));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user