mirror of
https://github.com/libAthena/athena.git
synced 2025-12-08 13:15:05 +00:00
Global: Make SeekOrigin an enum class
Makes the enumeration strongly typed and also allows forward declaring the enumeration type as well.
This commit is contained in:
@@ -123,7 +123,7 @@ namespace athena {
|
||||
namespace error {
|
||||
enum class Level { Message, Warning, Error, Fatal };
|
||||
}
|
||||
enum SeekOrigin { Begin, Current, End };
|
||||
enum class SeekOrigin { Begin, Current, End };
|
||||
|
||||
enum Endian { Little, Big };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user