Commit c7a1bce7 authored by Kirill Smelkov's avatar Kirill Smelkov
Browse files

fixup! time: Move/Port timers to C++/Pyx nogil

This amends commit b073f6df: clang was complaining that _Ticker/_Timer
were forward-declared as class, but later declared as struct:

    ./golang/time.h:107:1: warning: '_Ticker' defined as a struct here but previously declared as a class [-Wmismatched-tags]
    struct _Ticker : object {
    ^
    ./golang/time.h:77:1: note: did you mean struct here?
    class _Ticker;
    ^~~~~
    struct
    ./golang/time.h:140:1: warning: '_Timer' defined as a struct here but previously declared as a class [-Wmismatched-tags]
    struct _Timer : object {
    ^
    ./golang/time.h:78:1: note: did you mean struct here?
    class _Timer;
    ^~~~~
    struct

-> Fix it by using struct. Also used inline style inside refptr.
parent d51bcd7e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment