lib/realtime: remove useless method Timespec::destroy
[nit.git] / lib / realtime.nit
index 68b7834..72a9d5f 100644 (file)
@@ -57,10 +57,6 @@ extern class Timespec `{struct timespec*`}
                return recv->tv_nsec;
        `}
 
-       fun destroy `{
-               free( recv );
-       `}
-
        # Seconds in Float
        # Loss of precision but great to print
        fun to_f: Float do return sec.to_f + nanosec.to_f / 1000000000.0