diff options
-rw-r--r-- | fastos/src/vespa/fastos/file.cpp | 5 | ||||
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/util/shutdownguard.cpp | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/fastos/src/vespa/fastos/file.cpp b/fastos/src/vespa/fastos/file.cpp index 42ca432329d..b7da72db420 100644 --- a/fastos/src/vespa/fastos/file.cpp +++ b/fastos/src/vespa/fastos/file.cpp @@ -502,11 +502,6 @@ FastOS_DirectoryScanInterface::FastOS_DirectoryScanInterface(const char *path) { } -/** - * Destructor. - * - * Frees operating system resources related to the directory scan. - */ FastOS_DirectoryScanInterface::~FastOS_DirectoryScanInterface() { free(_searchPath); diff --git a/staging_vespalib/src/vespa/vespalib/util/shutdownguard.cpp b/staging_vespalib/src/vespa/vespalib/util/shutdownguard.cpp index 5d8ec190d59..645ffea380d 100644 --- a/staging_vespalib/src/vespa/vespalib/util/shutdownguard.cpp +++ b/staging_vespalib/src/vespa/vespalib/util/shutdownguard.cpp @@ -11,7 +11,7 @@ namespace vespalib { namespace { enum { STACK_SIZE = (1u << 16) }; -static uint64_t getTimeInMillis() { +uint64_t getTimeInMillis() { struct timeval mytime; gettimeofday(&mytime, 0); uint64_t mult = 1000; |