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:
Lioncash
2019-09-14 09:22:14 -04:00
parent 2392dde366
commit 9bde23011f
2 changed files with 7 additions and 4 deletions

View File

@@ -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 };