aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing
diff options
context:
space:
mode:
authorgusev-p <gusev-p@yandex-team.ru>2022-02-10 16:47:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:20 +0300
commit1715700d00b30399d3648be821fd585ae552365e (patch)
tree6857a59158ea36e56d87fb32fbb8e44673c0ca0f /library/cpp/testing
parentb23c1d7a8015c2006a148fd93b84cdeb0aee17a3 (diff)
downloadydb-1715700d00b30399d3648be821fd585ae552365e.tar.gz
Restoring authorship annotation for <gusev-p@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/testing')
-rw-r--r--library/cpp/testing/benchmark/bench.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/testing/benchmark/bench.h b/library/cpp/testing/benchmark/bench.h
index 21551ad0dd4..4225a31fd3f 100644
--- a/library/cpp/testing/benchmark/bench.h
+++ b/library/cpp/testing/benchmark/bench.h
@@ -1,9 +1,9 @@
#pragma once
-#include <util/system/compiler.h>
+#include <util/system/compiler.h>
#include <util/system/types.h>
-#include <utility>
+#include <utility>
namespace NBench {
namespace NCpu {
@@ -71,14 +71,14 @@ namespace NBench {
}
#endif
- /**
- * Use this function to prevent unused variables elimination.
- *
- * @param Unused variable (e.g. return value of benchmarked function).
- */
+ /**
+ * Use this function to prevent unused variables elimination.
+ *
+ * @param Unused variable (e.g. return value of benchmarked function).
+ */
template <typename T>
Y_FORCE_INLINE void DoNotOptimize(T&& datum) {
- ::DoNotOptimizeAway(std::forward<T>(datum));
+ ::DoNotOptimizeAway(std::forward<T>(datum));
}
int Main(int argc, char** argv);