Skip to content

Commit

Permalink
docs(core): change class to struct in Reflect
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Sep 5, 2023
1 parent 600ac1b commit de1fb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/include/cubos/core/reflection/reflect.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace cubos::core::reflection
///
/// To implement reflection for your type, you should either:
/// - Define a static member function `reflect` with return type `const Type&` on your type.
/// - Specialize this class for your type.
/// - Specialize this struct for your type.
///
/// The first option is preferred, as it is less verbose. However, when handling external
/// types, to which member functions cannot be added, the second option is necessary.
Expand Down

0 comments on commit de1fb49

Please sign in to comment.