MB-21540: Convert ep_time.c -> ep_time.cc 73/69373/4
authorDave Rigby <daver@couchbase.com>
Tue, 1 Nov 2016 16:03:35 +0000 (16:03 +0000)
committerDave Rigby <daver@couchbase.com>
Fri, 4 Nov 2016 13:30:11 +0000 (13:30 +0000)
In preparation for replacing use of abort() with exceptions.

Change-Id: I8b95d9b5236c2f7735977cbebd1f182765adb2d4
Reviewed-on: http://review.couchbase.org/69373
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: buildbot <build@couchbase.com>
CMakeLists.txt
src/ep_time.cc [moved from src/ep_time.c with 100% similarity]

index 8a6ca91..840ffde 100644 (file)
@@ -146,7 +146,7 @@ ADD_LIBRARY(ep SHARED
             src/defragmenter_visitor.cc
             src/ep.cc
             src/ep_engine.cc
-            src/ep_time.c
+            src/ep_time.cc
             src/executorpool.cc
             src/executorthread.cc
             src/ext_meta_parser.cc
@@ -215,7 +215,7 @@ ADD_EXECUTABLE(ep-engine_ep_unit_tests
   src/defragmenter_visitor.cc
   src/ep.cc
   src/ep_engine.cc
-  src/ep_time.c
+  src/ep_time.cc
   src/executorpool.cc
   src/executorthread.cc
   src/ext_meta_parser.cc
@@ -356,7 +356,7 @@ ADD_LIBRARY(ep_testsuite SHARED
    tests/ep_testsuite.cc
    src/atomic.cc
    src/compress.cc
-   src/ep_time.c
+   src/ep_time.cc
    src/ext_meta_parser.cc
    src/item.cc
    src/testlogger.cc
similarity index 100%
rename from src/ep_time.c
rename to src/ep_time.cc