From 1ec2d1c69d9efd14c7740d2b00c65254525e1f82 Mon Sep 17 00:00:00 2001 From: Lei Jin Date: Thu, 19 Jun 2014 10:12:26 -0700 Subject: [PATCH] fix make shared_lib compilation error Summary: s/class ParsedInternalKey/struct ParsedInternalKey Test Plan: make shared_lib Reviewers: igor, yhchiang, sdong, haobo Reviewed By: haobo Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D19173 --- table/plain_table_key_coding.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/table/plain_table_key_coding.h b/table/plain_table_key_coding.h index 393dae71f..ba66c2645 100644 --- a/table/plain_table_key_coding.h +++ b/table/plain_table_key_coding.h @@ -3,8 +3,8 @@ // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. -#ifndef ROCKSDB_LITE #pragma once +#ifndef ROCKSDB_LITE #include "rocksdb/slice.h" #include "db/dbformat.h" @@ -12,7 +12,7 @@ namespace rocksdb { class WritableFile; -class ParsedInternalKey; +struct ParsedInternalKey; // Helper class to write out a key to an output file // Actual data format of the key is documented in plain_table_factory.h