Tidying - using scoped enums
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Bloom::Events
|
|||||||
{
|
{
|
||||||
static_assert(std::atomic<int>::is_always_lock_free);
|
static_assert(std::atomic<int>::is_always_lock_free);
|
||||||
|
|
||||||
enum EventType: std::uint8_t
|
enum class EventType: std::uint8_t
|
||||||
{
|
{
|
||||||
GENERIC,
|
GENERIC,
|
||||||
STOP_TARGET_EXECUTION,
|
STOP_TARGET_EXECUTION,
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
namespace Bloom::Widgets::InsightTargetWidgets::Dip
|
namespace Bloom::Widgets::InsightTargetWidgets::Dip
|
||||||
{
|
{
|
||||||
enum Position: std::uint8_t
|
enum class Position: std::uint8_t
|
||||||
{
|
{
|
||||||
TOP,
|
TOP,
|
||||||
BOTTOM
|
BOTTOM
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
namespace Bloom::Widgets::InsightTargetWidgets::Qfp
|
namespace Bloom::Widgets::InsightTargetWidgets::Qfp
|
||||||
{
|
{
|
||||||
enum Position: std::uint8_t
|
enum class Position: std::uint8_t
|
||||||
{
|
{
|
||||||
TOP,
|
TOP,
|
||||||
BOTTOM,
|
BOTTOM,
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
namespace Bloom::Targets::TargetDescription
|
namespace Bloom::Targets::TargetDescription
|
||||||
{
|
{
|
||||||
enum MemorySegmentType
|
enum class MemorySegmentType
|
||||||
{
|
{
|
||||||
REGISTERS,
|
REGISTERS,
|
||||||
IO,
|
IO,
|
||||||
|
|||||||
Reference in New Issue
Block a user