From 75abffb472365d28bd0a019db1a54cb32a6100dd Mon Sep 17 00:00:00 2001 From: sskvor <sskvor@yandex-team.ru> Date: Thu, 10 Feb 2022 16:48:04 +0300 Subject: Restoring authorship annotation for <sskvor@yandex-team.ru>. Commit 1 of 2. --- library/cpp/testing/benchmark/bench.h | 12 ++++++------ library/cpp/testing/benchmark/dummy.cpp | 16 ++++++++-------- library/cpp/testing/benchmark/ya.make | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) (limited to 'library/cpp/testing/benchmark') diff --git a/library/cpp/testing/benchmark/bench.h b/library/cpp/testing/benchmark/bench.h index 21551ad0dd..96e80b038a 100644 --- a/library/cpp/testing/benchmark/bench.h +++ b/library/cpp/testing/benchmark/bench.h @@ -4,7 +4,7 @@ #include <util/system/types.h> #include <utility> - + namespace NBench { namespace NCpu { struct TParams { @@ -47,11 +47,11 @@ namespace NBench { : : "memory"); } -#elif defined(_MSC_VER) - Y_FORCE_INLINE void Clobber() { - _ReadWriteBarrier(); - } - +#elif defined(_MSC_VER) + Y_FORCE_INLINE void Clobber() { + _ReadWriteBarrier(); + } + #else Y_FORCE_INLINE void Clobber() { } diff --git a/library/cpp/testing/benchmark/dummy.cpp b/library/cpp/testing/benchmark/dummy.cpp index cdb05c19db..3c533ec52f 100644 --- a/library/cpp/testing/benchmark/dummy.cpp +++ b/library/cpp/testing/benchmark/dummy.cpp @@ -1,8 +1,8 @@ -#include "bench.h" - -namespace NBench { - namespace NPrivate { - void UseCharPointer(volatile const char*) { - } - } -} +#include "bench.h" + +namespace NBench { + namespace NPrivate { + void UseCharPointer(volatile const char*) { + } + } +} diff --git a/library/cpp/testing/benchmark/ya.make b/library/cpp/testing/benchmark/ya.make index f42be80698..d4e6db0ee9 100644 --- a/library/cpp/testing/benchmark/ya.make +++ b/library/cpp/testing/benchmark/ya.make @@ -7,7 +7,7 @@ OWNER( SRCS( bench.cpp - dummy.cpp + dummy.cpp ) PEERDIR( -- cgit v1.2.3