doc: fixed a couple of typos

This commit is contained in:
Michele Caini
2021-10-26 15:44:05 +02:00
parent 565dc3327b
commit 74cdf000b4
2 changed files with 2 additions and 2 deletions

View File

@@ -693,7 +693,7 @@ Here is a (possibly incomplete) list of the functionalities that come with a
type list:
* `type_list_element[_t]` to get the N-th element of a type list.
* `type_list_cast[_t]` and a handy `operator+` to concatenate type lists.
* `type_list_cat[_t]` and a handy `operator+` to concatenate type lists.
* `type_list_unique[_t]` to remove duplicate types from a type list.
* `type_list_contains[_v]` to know if a type list contains a given type.
* `type_list_diff[_t]` to remove types from type lists.

View File

@@ -120,7 +120,7 @@ external call:
struct Drawable: entt::type_list<> {
template<typename Base>
struct type: Base {
bool draw() const { entt::poly_call<0>(*this); }
void draw() const { entt::poly_call<0>(*this); }
};
// ...