[Groonga-commit] groonga/grnxx at 7015b98 [master] Remove a needless "#include"s and move "using"s from private to public.

Back to archive index

susumu.yata null+****@clear*****
Mon May 13 21:12:30 JST 2013


susumu.yata	2013-05-13 21:12:30 +0900 (Mon, 13 May 2013)

  New Revision: 7015b9841102156cee24142166c498981fe1212a
  https://github.com/groonga/grnxx/commit/7015b9841102156cee24142166c498981fe1212a

  Message:
    Remove a needless "#include"s and move "using"s from private to public.

  Modified files:
    lib/grnxx/array.hpp

  Modified: lib/grnxx/array.hpp (+3 -5)
===================================================================
--- lib/grnxx/array.hpp    2013-05-13 19:03:29 +0900 (ed51bee)
+++ lib/grnxx/array.hpp    2013-05-13 21:12:30 +0900 (1c58bc0)
@@ -22,12 +22,10 @@
 
 #include <cstring>
 #include <memory>
-#include <new>
 
 #include "grnxx/array/array_1d.hpp"
 #include "grnxx/array/array_2d.hpp"
 #include "grnxx/array/array_3d.hpp"
-#include "grnxx/logger.hpp"
 #include "grnxx/traits.hpp"
 
 namespace grnxx {
@@ -49,10 +47,10 @@ template <typename T, uint64_t PAGE_SIZE>
 class Array<T, PAGE_SIZE, 1, 1> {
   static_assert(PAGE_SIZE > 0, "PAGE_SIZE <= 0");
 
+ public:
   using Value = typename Traits<T>::Type;
   using ValueArg = typename Traits<T>::ArgumentType;
 
- public:
   Array() : impl_() {}
   ~Array() {}
 
@@ -168,10 +166,10 @@ class Array<T, PAGE_SIZE, TABLE_SIZE, 1> {
                 "PAGE_SIZE must be a power of two");
   static_assert(TABLE_SIZE > 0, "TABLE_SIZE <= 0");
 
+ public:
   using Value = typename Traits<T>::Type;
   using ValueArg = typename Traits<T>::ArgumentType;
 
- public:
   Array() : impl_() {}
   ~Array() {}
 
@@ -303,10 +301,10 @@ class Array {
                 "TABLE_SIZE must be a power of two");
   static_assert(SECONDARY_TABLE_SIZE > 0, "SECONDARY_TABLE_SIZE <= 0");
 
+ public:
   using Value = typename Traits<T>::Type;
   using ValueArg = typename Traits<T>::ArgumentType;
 
- public:
   Array() : impl_() {}
   ~Array() {}
 
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index