[Groonga-commit] groonga/grnxx at f91f939 [master] Explicitly increment the reference count for grnxx::PeriodicClock.

アーカイブの一覧に戻る

susumu.yata null+****@clear*****
Thu May 16 20:54:06 JST 2013


susumu.yata	2013-05-16 20:54:06 +0900 (Thu, 16 May 2013)

  New Revision: f91f9397f22e082cd559ff40f9f005d8eb4e7e2a
  https://github.com/groonga/grnxx/commit/f91f9397f22e082cd559ff40f9f005d8eb4e7e2a

  Message:
    Explicitly increment the reference count for grnxx::PeriodicClock.

  Modified files:
    test/test_storage.cpp

  Modified: test/test_storage.cpp (+4 -0)
===================================================================
--- test/test_storage.cpp    2013-05-16 20:03:10 +0900 (fb5b5b8)
+++ test/test_storage.cpp    2013-05-16 20:54:06 +0900 (334d1d5)
@@ -25,6 +25,7 @@
 #include "grnxx/storage/file.hpp"
 #include "grnxx/storage/path.hpp"
 #include "grnxx/storage/chunk.hpp"
+#include "grnxx/time/periodic_clock.hpp"
 #include "grnxx/types.hpp"
 
 namespace {
@@ -754,6 +755,9 @@ int main() {
                            grnxx::LOGGER_ENABLE_COUT);
   grnxx::Logger::set_max_level(grnxx::NOTICE_LOGGER);
 
+  // Increment the reference count for grnxx::PeriodicClock.
+  grnxx::PeriodicClock clock;
+
   test_path();
   test_file();
   test_chunk();
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る