[Groonga-commit] groonga/grnxx at 6857393 [master] Remove 'std::' for intXX_t and uintXX_t.

アーカイブの一覧に戻る

susumu.yata null+****@clear*****
Tue May 28 16:22:24 JST 2013


susumu.yata	2013-05-28 16:22:24 +0900 (Tue, 28 May 2013)

  New Revision: 6857393abbca37d4bd08eda6a222cf69489e1722
  https://github.com/groonga/grnxx/commit/6857393abbca37d4bd08eda6a222cf69489e1722

  Message:
    Remove 'std::' for intXX_t and uintXX_t.

  Modified files:
    lib/grnxx/recycler.hpp
    lib/grnxx/time.cpp

  Modified: lib/grnxx/recycler.hpp (+1 -1)
===================================================================
--- lib/grnxx/recycler.hpp    2013-05-28 15:58:24 +0900 (10c2832)
+++ lib/grnxx/recycler.hpp    2013-05-28 16:22:24 +0900 (c4c2255)
@@ -47,7 +47,7 @@ class Recycler {
     }
   }
 
-  std::uint16_t stamp() {
+  uint16_t stamp() {
     // Update stamp_pair_ and times_, once per RECYCLER_STAMP_COUNT_PER_UPDATE.
     // Note that count_ is zero-cleared in update(), but in a multi-threaded
     // case, the zero-clear might be ignored by ++count_.

  Modified: lib/grnxx/time.cpp (+1 -1)
===================================================================
--- lib/grnxx/time.cpp    2013-05-28 15:58:24 +0900 (1f9e0b3)
+++ lib/grnxx/time.cpp    2013-05-28 16:22:24 +0900 (33ade24)
@@ -28,7 +28,7 @@ namespace grnxx {
 namespace {
 
 // Note: std::tm does not support usec (microseconds).
-BrokenDownTime create_broken_down_time(const std::tm &tm, std::int64_t count) {
+BrokenDownTime create_broken_down_time(const std::tm &tm, int64_t count) {
   BrokenDownTime time;
   time.usec = static_cast<int>(count % 1000000);
   time.sec = tm.tm_sec;
-------------- next part --------------
HTML����������������������������...
ダウンロード 



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