diff --git a/include/saucer/serializers/data.hpp b/include/saucer/serializers/data.hpp index 6421033..20ad448 100644 --- a/include/saucer/serializers/data.hpp +++ b/include/saucer/serializers/data.hpp @@ -10,13 +10,13 @@ namespace saucer virtual ~message_data() = default; }; - struct function_data : public message_data + struct function_data : message_data { std::uint64_t id; std::string name; }; - struct result_data : public message_data + struct result_data : message_data { std::uint64_t id; }; diff --git a/include/saucer/serializers/glaze/glaze.hpp b/include/saucer/serializers/glaze/glaze.hpp index cebf825..cd9a029 100644 --- a/include/saucer/serializers/glaze/glaze.hpp +++ b/include/saucer/serializers/glaze/glaze.hpp @@ -6,17 +6,17 @@ namespace saucer::serializers { - struct glaze_function_data : public function_data + struct glaze_function_data : function_data { glz::raw_json params; }; - struct glaze_result_data : public result_data + struct glaze_result_data : result_data { glz::raw_json result; }; - struct glaze : public serializer + struct glaze : serializer { ~glaze() override; diff --git a/tests/cfg.hpp b/tests/cfg.hpp index 66f6b26..af8bcac 100644 --- a/tests/cfg.hpp +++ b/tests/cfg.hpp @@ -4,7 +4,7 @@ namespace cfg { - struct runner : public boost::ut::runner<> + struct runner : boost::ut::runner<> { using boost::ut::runner<>::on; using boost::ut::runner<>::run; diff --git a/tests/window.test.cpp b/tests/window.test.cpp index 9e82e43..f87e039 100644 --- a/tests/window.test.cpp +++ b/tests/window.test.cpp @@ -8,7 +8,7 @@ using namespace boost::ut::literals; suite window_suite = [] { - struct dummy_window : public saucer::window + struct dummy_window : saucer::window { dummy_window(const saucer::options &opts) : saucer::window(opts) {} };