aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/store_policy_ut.cpp
diff options
context:
space:
mode:
authorAlexander Fokin <apfokin@gmail.com>2022-02-10 16:45:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:38 +0300
commit863a59a65247c24db7cb06789bc5cf79d04da32f (patch)
tree139dc000c8cd4a40f5659e421b7c75135d080307 /util/generic/store_policy_ut.cpp
parentf64e95a9eb9ab03240599eb9581c5a9102426a96 (diff)
downloadydb-863a59a65247c24db7cb06789bc5cf79d04da32f.tar.gz
Restoring authorship annotation for Alexander Fokin <apfokin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/generic/store_policy_ut.cpp')
-rw-r--r--util/generic/store_policy_ut.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/store_policy_ut.cpp b/util/generic/store_policy_ut.cpp
index c9722203aa..5d78823bac 100644
--- a/util/generic/store_policy_ut.cpp
+++ b/util/generic/store_policy_ut.cpp
@@ -46,7 +46,7 @@ Y_UNIT_TEST_SUITE(StorePolicy) {
static_assert(std::is_const<decltype(a)>::value);
FunctionTakingRefDefaultIsObject(a, [](auto& holder) {
- static_assert(std::is_const<std::remove_reference_t<decltype(*holder.Ptr())>>::value);
+ static_assert(std::is_const<std::remove_reference_t<decltype(*holder.Ptr())>>::value);
UNIT_ASSERT_VALUES_EQUAL(holder.Ptr()->size(), 3);
});
}
@@ -54,7 +54,7 @@ Y_UNIT_TEST_SUITE(StorePolicy) {
template <typename T, typename TFunc>
void FunctionTakingObjectDefaultObject(T&& a, TFunc func) {
- TAutoEmbedOrPtrPolicy<T> objectHolder(std::forward<T>(a));
+ TAutoEmbedOrPtrPolicy<T> objectHolder(std::forward<T>(a));
func(objectHolder);
}