Skip to content

Commit

Permalink
Update AtomicInt.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
Apprentice-Alchemist authored May 10, 2022
1 parent 0dca14a commit fcd0cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/cpp/_std/haxe/atomic/AtomicInt.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extern
#end
abstract AtomicInt(cpp.Pointer<cpp.AtomicInt>) {
public #if !(scriptable || cppia) inline #end function new(value:Int) {
this = cpp.Pointer.ofArray([value]);
this = cpp.Pointer.ofArray([(value:cpp.AtomicInt)]);
}

public #if !(scriptable || cppia) inline #end function add(b:Int):Int {
Expand Down

0 comments on commit fcd0cae

Please sign in to comment.