[ox] Fix Mac build and fix MC to increment field counter on empty string

This commit is contained in:
2020-05-08 21:32:56 -05:00
parent f91874182e
commit 819959745d
4 changed files with 6 additions and 4 deletions

View File

@@ -29,7 +29,6 @@ class FileAddress {
static constexpr auto TypeName = "ox::FileAddress";
static constexpr auto Fields = 2;
protected:
union Data {
static constexpr auto TypeName = "ox::FileAddress::Data";
static constexpr auto Fields = 3;
@@ -37,6 +36,8 @@ class FileAddress {
const char *constPath;
uint64_t inode;
};
protected:
FileAddressType m_type = FileAddressType::None;
Data m_data;