Skip to content
Snippets Groups Projects
Commit b07218ea authored by Florian Schmaus's avatar Florian Schmaus
Browse files

s/enum struct/enum class/

Both are semantically equivalent, and it appears that "enum struct" is
a little bit more confusing.
parent e51a130e
No related branches found
No related tags found
1 merge request!1WIP: Emper shutdown
......@@ -36,7 +36,7 @@ class AbstractWorkStealingScheduler : public Scheduler {
public:
static const int QUEUE_SIZE = 1024;
enum struct FiberSource : uintptr_t {
enum class FiberSource : uintptr_t {
local,
stolen,
anywhere_queue,
......
......@@ -18,7 +18,7 @@ class RuntimeStrategyStats;
class LawsStrategy : public AbstractWorkStealingStrategy {
private:
enum struct FiberSource : uintptr_t {
enum class FiberSource : uintptr_t {
local = static_cast<uintptr_t>(AbstractWorkStealingScheduler::FiberSource::local),
stolen = static_cast<uintptr_t>(AbstractWorkStealingScheduler::FiberSource::stolen),
anywhere_queue =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment