Use enum abstract in Haxe 4.
Most of these warnings were fixed by merging the develop branch, but WorkOutput.hx is new in 8.2.0.
This commit is contained in:
@@ -204,7 +204,7 @@ class WorkOutput
|
||||
}
|
||||
}
|
||||
|
||||
@:enum abstract ThreadMode(Bool)
|
||||
#if haxe4 enum #else @:enum #end abstract ThreadMode(Bool)
|
||||
{
|
||||
/**
|
||||
All work will be done on the main thread, during `Application.onUpdate`.
|
||||
@@ -341,7 +341,7 @@ class JobData
|
||||
}
|
||||
}
|
||||
|
||||
@:enum abstract ThreadEventType(String)
|
||||
#if haxe4 enum #else @:enum #end abstract ThreadEventType(String)
|
||||
{
|
||||
/**
|
||||
Sent by the background thread, indicating completion.
|
||||
|
||||
Reference in New Issue
Block a user