Skip to content

small/perf build fails #105

@msmolensky

Description

@msmolensky

CMakeLists.txt for the project sets C++version to 11. Benchmark now switched to C++ 14 and used std::make_unique<>. Build now fails due to this:

<...>/include/benchmark/benchmark.h: In function ‘benchmark::internal::Benchmark* benchmark::RegisterBenchmark(const string&, void (*)(benchmark::State&))’:
<...>/include/benchmark/benchmark.h:1371:12: error: ‘make_unique’ is not a member of ‘std’

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions