Fix compile error in tailing_iter.h

Summary:
Fix the following compile error

  ./db/tailing_iter.h:17:1: error: class 'SuperVersion' was previously declared as a struct [-Werror,-Wmismatched-tags]
  class SuperVersion;
  ^
  ./db/column_family.h:77:8: note: previous use is here
  struct SuperVersion {
         ^
         ./db/tailing_iter.h:17:1: note: did you mean struct here?
         class SuperVersion;
         ^~~~~
         struct
         1 error generated.

Test Plan: make

Reviewers: ljin, igor, haobo, sdong

Reviewed By: ljin

CC: leveldb

Differential Revision: https://reviews.facebook.net/D17799
This commit is contained in:
Yueh-Hsuan Chiang 2014-04-14 14:05:15 -07:00
parent 51f4b5090d
commit 118f88d25d

View file

@ -14,7 +14,7 @@ namespace rocksdb {
class DBImpl; class DBImpl;
class Env; class Env;
class SuperVersion; struct SuperVersion;
class ColumnFamilyData; class ColumnFamilyData;
/** /**