Skip to content

Commit

Permalink
Fixed static extension of this compiler errors for Haxe 4 (per HaxeFo…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcward committed Oct 15, 2018
1 parent d24a5dc commit 39c67d0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions hxtelemetry/HxTelemetry.hx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ import haxe.io.Bytes;
#end

#if (cpp && HXCPP_TELEMETRY)
using hxtelemetry.CppHxTelemetry;
import hxtelemetry.CppHxTelemetry.*;
#elseif neko
using hxtelemetry.NekoHxTelemetry;
import hxtelemetry.NekoHxTelemetry.*;
#elseif hl
using hxtelemetry.HLHxTelemetry;
import hxtelemetry.HLHxTelemetry.*;
#else
using hxtelemetry.NoopHxTelemetry;
import hxtelemetry.NoopHxTelemetry.*;
#end

class Config
Expand Down Expand Up @@ -129,7 +129,7 @@ class HxTelemetry
}
}

validate_config();
validate_config(this);

_thread_num = init_profiler_for_this_thread();
}
Expand All @@ -141,7 +141,7 @@ class HxTelemetry

if (_config.profiler) {
_mutex.acquire();
thread_num = start_profiler();
thread_num = start_profiler(this);
if (_threads.exists(thread_num)) {
_mutex.release();
#if debug
Expand Down Expand Up @@ -169,7 +169,7 @@ class HxTelemetry
{
if (_writer==null) return;

do_advance_frame();
do_advance_frame(this);

// Special-case frame delimiter
send_frame_delimiter();
Expand Down

0 comments on commit 39c67d0

Please sign in to comment.