diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-18 14:46:07 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-18 14:46:07 +0200 |
commit | bde6dfaaad25579e202577b7ad9b4fba7685e51e (patch) | |
tree | 2838433cfc46fa9ed004d3534467a0605b555092 | |
parent | 5f36b7efbf8a6a22c3371b34451e0975aea57b30 (diff) |
Fix up @vekterli's comments.
-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; |