Skip to content

Commit

Permalink
fix maxer creation(previous used as adder)
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestjgq committed Jan 18, 2021
1 parent 2330eb5 commit 12f7112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter/gm_callback.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func gmCreate(typ int, name *C.char) C.int {
case C.VAR_ADDER:
m = gomark.NewAdder(C.GoString(name))
case C.VAR_MAXER:
m = gomark.NewAdder(C.GoString(name))
m = gomark.NewMaxer(C.GoString(name))
case C.VAR_STATUS:
m = gomark.NewStatus(C.GoString(name))
case C.VAR_PERSECOND_ADDER:
Expand Down

0 comments on commit 12f7112

Please sign in to comment.