diff options
Diffstat (limited to 'fastos')
-rw-r--r-- | fastos/src/vespa/fastos/CMakeLists.txt | 1 | ||||
-rw-r--r-- | fastos/src/vespa/fastos/timestamp.cpp | 14 | ||||
-rw-r--r-- | fastos/src/vespa/fastos/timestamp.h | 11 |
3 files changed, 0 insertions, 26 deletions
diff --git a/fastos/src/vespa/fastos/CMakeLists.txt b/fastos/src/vespa/fastos/CMakeLists.txt index fb5e7b2901e..1437f5c55f3 100644 --- a/fastos/src/vespa/fastos/CMakeLists.txt +++ b/fastos/src/vespa/fastos/CMakeLists.txt @@ -7,7 +7,6 @@ vespa_add_library(fastos_objects OBJECT linux_file.cpp process.cpp thread.cpp - timestamp.cpp unix_app.cpp unix_dynamiclibrary.cpp unix_file.cpp diff --git a/fastos/src/vespa/fastos/timestamp.cpp b/fastos/src/vespa/fastos/timestamp.cpp deleted file mode 100644 index 5268453901d..00000000000 --- a/fastos/src/vespa/fastos/timestamp.cpp +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include "timestamp.h" -#include <chrono> - -using std::chrono::system_clock; - -namespace fastos { - -time_t -time() { - return system_clock::to_time_t(system_clock::now()); -} - -} diff --git a/fastos/src/vespa/fastos/timestamp.h b/fastos/src/vespa/fastos/timestamp.h deleted file mode 100644 index e050fe1bcbb..00000000000 --- a/fastos/src/vespa/fastos/timestamp.h +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#pragma once - -#include <ctime> - -namespace fastos { - -time_t time(); - -} - |