Skip to content

Commit

Permalink
refactor: remove superflous public
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 15, 2024
1 parent 60e6e33 commit 285da8a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions include/saucer/serializers/data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
6 changes: 3 additions & 3 deletions include/saucer/serializers/glaze/glaze.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion tests/cfg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/window.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
};
Expand Down

0 comments on commit 285da8a

Please sign in to comment.