From 2c2d5ab7e86c387c538f3a9eda8b9cc9408df54c Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Mon, 2 Feb 2015 15:20:19 -0800 Subject: [PATCH] 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 --- util/xfunc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/xfunc.h b/util/xfunc.h index a48640a11..51122b7aa 100644 --- a/util/xfunc.h +++ b/util/xfunc.h @@ -28,7 +28,7 @@ namespace rocksdb { #define XFUNC_TEST(condition, location, lfname, fname, ...) #else -class Options; +struct Options; void GetXFTestOptions(Options* options, int skip_policy); // This class provides the facility to run custom code to test a specific -- GitLab