From 8a7a9cb90f365aac21f7ca4e9ebb2769bd6ef8cc Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Thu, 11 Jul 2019 13:13:52 +0200 Subject: [PATCH] Problem: clang-format produces C++11 style nested templated arguments Solution: Fixed C++ standard in clang-format config --- .clang-format | 2 +- perf/benchmark_radix_tree.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index 9d699ec9..0fc6f89f 100644 --- a/.clang-format +++ b/.clang-format @@ -38,7 +38,7 @@ SpaceInEmptyParentheses: false SpacesInAngles: false SpacesInParentheses: false SpacesInSquareBrackets: false -Standard: Cpp11 +Standard: Cpp03 SortIncludes: false diff --git a/perf/benchmark_radix_tree.cpp b/perf/benchmark_radix_tree.cpp index f6d6e7e3..432d535f 100644 --- a/perf/benchmark_radix_tree.cpp +++ b/perf/benchmark_radix_tree.cpp @@ -52,7 +52,7 @@ void benchmark_lookup (T &subscriptions_, std::vector &queries_) { using namespace std::chrono; - std::vector> samples_vec; + std::vector > samples_vec; samples_vec.reserve (samples); for (std::size_t run = 0; run < warmup_runs; ++run) {