Generalize EBO affirming static_assert
so it doesn't depend on pointer size 8
This commit is contained in:
parent
7bff35f991
commit
0e312fb74d
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ struct sdl_rwops_deleter
|
|||
};
|
||||
|
||||
using rwops_ptr = std::unique_ptr<SDL_RWops, sdl_rwops_deleter>;
|
||||
static_assert(sizeof(rwops_ptr) == 8);
|
||||
static_assert(sizeof(rwops_ptr) == sizeof(SDL_RWops*));
|
||||
|
||||
rwops_ptr make_read_RWops(const std::string &path);
|
||||
rwops_ptr make_write_RWops(const std::string &path);
|
||||
|
|
Loading…
Add table
Reference in a new issue