提交 2c2d5ab7 编写于 作者: Y Yueh-Hsuan Chiang

Fix compile warning in util/xfunc.h

Summary:
./util/xfunc.h:31:1: error: class 'Options' was previously declared as a struct [-Werror,-Wmismatched-tags]
class Options;
^

Test Plan:
make dbg -j32
上级 0b8dec71
...@@ -28,7 +28,7 @@ namespace rocksdb { ...@@ -28,7 +28,7 @@ namespace rocksdb {
#define XFUNC_TEST(condition, location, lfname, fname, ...) #define XFUNC_TEST(condition, location, lfname, fname, ...)
#else #else
class Options; struct Options;
void GetXFTestOptions(Options* options, int skip_policy); void GetXFTestOptions(Options* options, int skip_policy);
// This class provides the facility to run custom code to test a specific // This class provides the facility to run custom code to test a specific
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册