mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-18 09:25:27 +00:00
General: Be explicit about athena's Endian type
Allows this code to still compile if the enum is ever changed into an enum class.
This commit is contained in:
@@ -60,7 +60,7 @@ struct SongGroupIndex : AudioGroupIndex {
|
||||
};
|
||||
struct PageEntry : BigDNA {
|
||||
AT_DECL_DNA_YAML
|
||||
PageObjectIdDNA<athena::Big> objId;
|
||||
PageObjectIdDNA<athena::Endian::Big> objId;
|
||||
Value<atUint8> priority = 0;
|
||||
Value<atUint8> maxVoices = 255;
|
||||
|
||||
@@ -134,7 +134,7 @@ struct SFXGroupIndex : AudioGroupIndex {
|
||||
};
|
||||
struct SFXEntry : BigDNA {
|
||||
AT_DECL_DNA_YAML
|
||||
PageObjectIdDNA<athena::Big> objId;
|
||||
PageObjectIdDNA<athena::Endian::Big> objId;
|
||||
Value<atUint8> priority = 0;
|
||||
Value<atUint8> maxVoices = 255;
|
||||
Value<atUint8> defVel = 127;
|
||||
|
||||
Reference in New Issue
Block a user