summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/time_unsafe.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tcpip/time_unsafe.go')
-rw-r--r--pkg/tcpip/time_unsafe.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/tcpip/time_unsafe.go b/pkg/tcpip/time_unsafe.go
index a52262e87..2f98a996f 100644
--- a/pkg/tcpip/time_unsafe.go
+++ b/pkg/tcpip/time_unsafe.go
@@ -13,7 +13,7 @@
// limitations under the License.
// +build go1.9
-// +build !go1.14
+// +build !go1.15
// Check go:linkname function signatures when updating Go version.
@@ -25,6 +25,8 @@ import (
)
// StdClock implements Clock with the time package.
+//
+// +stateify savable
type StdClock struct{}
var _ Clock = (*StdClock)(nil)