Skip to content

Commit

Permalink
Fix HighResolutionTime constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
HGuillemet committed Jul 9, 2024
1 parent eab2f68 commit 84958c0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ public class HighResolutionTime extends Pointer {
public HighResolutionTime() { allocate(); }
private native void allocate();

public HighResolutionTime(SystemDuration d) { allocate(d); }
private native void allocate(@Const @ByRef SystemDuration d);
public HighResolutionTime(HighResolutionDuration d) { allocate(d); }
private native void allocate(@Const @ByRef HighResolutionDuration d);

public native @ByVal HighResolutionTime time_since_epoch();

Expand Down

0 comments on commit 84958c0

Please sign in to comment.