This is an automated email from the ASF dual-hosted git repository.

adar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new a0ad526  [common] Remove unused member in KeyEncoderTraits
a0ad526 is described below

commit a0ad526dc0d998c2956ed42c78278b15da71455e
Author: lingbin <[email protected]>
AuthorDate: Fri Oct 18 13:43:22 2019 +0800

    [common] Remove unused member in KeyEncoderTraits
    
    Change-Id: Ia36fd64f9c9219f7ab16dd264a49bccab31aaca6
    Reviewed-on: http://gerrit.cloudera.org:8080/14506
    Tested-by: Kudu Jenkins
    Reviewed-by: Adar Dembo <[email protected]>
---
 src/kudu/common/key_encoder.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/kudu/common/key_encoder.h b/src/kudu/common/key_encoder.h
index 92b9bac..5b2cd76 100644
--- a/src/kudu/common/key_encoder.h
+++ b/src/kudu/common/key_encoder.h
@@ -61,8 +61,6 @@ struct KeyEncoderTraits<Type,
                           >::value
                         >::type
                        > {
-  static const DataType key_type = Type;
-
  private:
   typedef typename DataTypeTraits<Type>::cpp_type cpp_type;
   typedef typename MathLimits<cpp_type>::UnsignedType unsigned_cpp_type;
@@ -122,9 +120,6 @@ struct KeyEncoderTraits<Type,
 
 template<typename Buffer>
 struct KeyEncoderTraits<BINARY, Buffer> {
-
-  static const DataType key_type = BINARY;
-
   static void Encode(const void* key, Buffer* dst) {
     Encode(*reinterpret_cast<const Slice*>(key), dst);
   }

Reply via email to