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

@@ -3,11 +3,7 @@
namespace hex::dp {
namespace {
int s_idCounter = 1;
}
int Link::s_idCounter = 1;
Link::Link(int from, int to) : m_id(s_idCounter++), m_from(from), m_to(to) { }