Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VortexEngine/src/Memory/Memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ uint32_t cur_memory_usage_total()

#endif // DEBUG_ALLOCATIONS == 1

#ifndef VORTEX_LIB
#if CPP_MEMORY_OPERATORS == 1

// for C++11 need the following:
void *operator new (size_t size) { return vmalloc(size); }
Expand Down
4 changes: 3 additions & 1 deletion VortexEngine/src/Memory/Memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ uint32_t cur_memory_usage_total();

#endif

#ifndef VORTEX_LIB
#if CPP_MEMORY_OPERATORS == 1

void *operator new (size_t size);
void *operator new[](size_t size);
void operator delete (void *ptr);
Expand All @@ -51,6 +52,7 @@ void operator delete[](void *ptr, size_t size) noexcept;
//void operator delete[](void *ptr, std::align_val_t al) noexcept;
//void operator delete (void *ptr, size_t size, std::align_val_t al) noexcept;
//void operator delete[](void *ptr, size_t size, std::align_val_t al) noexcept;

#endif

#endif
2 changes: 1 addition & 1 deletion VortexEngine/src/Menus/Menu.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Menu
virtual bool init();

// the action for the menu to execute
enum MenuAction :uint8_t {
enum MenuAction : uint8_t {
// quit the menus
MENU_QUIT,
// continue running the menu
Expand Down
Loading