nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/realtime: remove useless method Timespec::destroy
[nit.git]
/
lib
/
realtime.nit
diff --git
a/lib/realtime.nit
b/lib/realtime.nit
index
68b7834
..
72a9d5f
100644
(file)
--- a/
lib/realtime.nit
+++ b/
lib/realtime.nit
@@
-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