Skip to content

Commit

Permalink
class -> struct
Browse files Browse the repository at this point in the history
  • Loading branch information
skypjack committed Sep 23, 2019
1 parent 27365ab commit dfdbb0a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/entt/entity/fwd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class basic_group;
template<typename>
class basic_observer;

/*! @class basic_actor */
/*! @struct basic_actor */
template <typename>
struct basic_actor;

Expand Down
2 changes: 1 addition & 1 deletion src/entt/resource/fwd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace entt {


/*! @class resource_cache */
/*! @struct resource_cache */
template<typename>
struct resource_cache;

Expand Down
2 changes: 1 addition & 1 deletion src/entt/resource/handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace entt {
template<typename Resource>
class resource_handle {
/*! @brief Resource handles are friends of their caches. */
friend class resource_cache<Resource>;
friend struct resource_cache<Resource>;

resource_handle(std::shared_ptr<Resource> res) ENTT_NOEXCEPT
: resource{std::move(res)}
Expand Down
2 changes: 1 addition & 1 deletion src/entt/resource/loader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace entt {
template<typename Loader, typename Resource>
class resource_loader {
/*! @brief Resource loaders are friends of their caches. */
friend class resource_cache<Resource>;
friend struct resource_cache<Resource>;

/**
* @brief Loads the resource and returns it.
Expand Down

0 comments on commit dfdbb0a

Please sign in to comment.