mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
rename keycode, mousecode enumerations
This commit is contained in:
parent
9843a1fc27
commit
881edb7b28
22 changed files with 160 additions and 154 deletions
|
|
@ -9,7 +9,7 @@ namespace util {
|
|||
/// @brief Keeps shared pointers alive until destruction
|
||||
class ObjectsKeeper {
|
||||
std::vector<std::shared_ptr<void>> ptrs;
|
||||
std::vector<observer_handler> handlers;
|
||||
std::vector<ObserverHandler> handlers;
|
||||
public:
|
||||
ObjectsKeeper() = default;
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ namespace util {
|
|||
ptrs.push_back(std::move(ptr));
|
||||
}
|
||||
|
||||
virtual void keepAlive(observer_handler&& ptr) {
|
||||
virtual void keepAlive(ObserverHandler&& ptr) {
|
||||
handlers.emplace_back(std::move(ptr));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue