build: Add support for unity builds

This commit is contained in:
WerWolv
2023-11-30 10:22:15 +01:00
parent 09904b77eb
commit e370fdb0fc
25 changed files with 77 additions and 79 deletions

View File

@@ -87,6 +87,8 @@ namespace hex::dp {
prv::Overlay *m_overlay = nullptr;
ImVec2 m_position;
static int s_idCounter;
Attribute& getAttribute(u32 index) {
if (index >= this->getAttributes().size())
throw std::runtime_error("Attribute index out of bounds!");