浏览代码

minor changes

Michele Caini 6 年之前
父节点
当前提交
9f46b51985
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      test/entt/meta/meta.cpp
  2. 1 1
      test/entt/signal/sigh.cpp

+ 1 - 1
test/entt/meta/meta.cpp

@@ -141,7 +141,7 @@ struct concrete_type: an_abstract_type, another_abstract_type {
     void h(char c) override { j = c; }
     void h(char c) override { j = c; }
 };
 };
 
 
-struct Meta: public ::testing::Test {
+struct Meta: ::testing::Test {
     static void SetUpTestCase() {
     static void SetUpTestCase() {
         entt::reflect<double>().conv<int>();
         entt::reflect<double>().conv<int>();
 
 

+ 1 - 1
test/entt/signal/sigh.cpp

@@ -26,7 +26,7 @@ struct before_after {
     static inline int value{};
     static inline int value{};
 };
 };
 
 
-struct SigH: public ::testing::Test {
+struct SigH: ::testing::Test {
     void SetUp() override {
     void SetUp() override {
         before_after::value = 0;
         before_after::value = 0;
     }
     }