From 9cb4b2024b114d40836b27f70515037488448c49 Mon Sep 17 00:00:00 2001 From: s0mewha7 Date: Thu, 30 May 2024 19:01:22 -0400 Subject: [PATCH] c-style fixing --- advanced_vector_hw/adv_vector_testing.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/advanced_vector_hw/adv_vector_testing.cpp b/advanced_vector_hw/adv_vector_testing.cpp index 6a2c8ab..15cf96e 100644 --- a/advanced_vector_hw/adv_vector_testing.cpp +++ b/advanced_vector_hw/adv_vector_testing.cpp @@ -1,7 +1,6 @@ #include #include #include -#include #include #include @@ -31,7 +30,7 @@ struct nomoveconstructed { nomoveconstructed() = delete; ~nomoveconstructed() = default; - nomoveconstructed(nomoveconstructed &other) = default; /// copy constructor in allowed + nomoveconstructed(nomoveconstructed &other) = default; nomoveconstructed &operator=(const nomoveconstructed &other) = delete; nomoveconstructed &operator=(nomoveconstructed &&other) = delete; @@ -68,7 +67,6 @@ struct nodefaultconstructed { [[nodiscard]] size_t getvalue() const noexcept { return value; } - }; TEST(DefaultConstructor, WithoutDefaultConstruct) { @@ -86,7 +84,6 @@ TEST(DefaultConstructor, WSTRINGS) { TEST(ParamConstuctor, WithoutDefaultConstruct) { bmstu::advanced_vector vec(10); ASSERT_EQ(vec.size(), 10); - } TEST(ParamConstructor, INTEGER) {