Removed redundant class

This commit is contained in:
Alexey Boykov 2021-08-13 14:32:50 +03:00
parent a1e8d5d638
commit 8f6b98c762

View File

@ -692,23 +692,7 @@ void LocalServer::applyCmdOptions(ContextMutablePtr context)
#ifdef FUZZING_MODE
#include <Functions/getFuzzerData.cpp>
class FuzzApp
{
DB::LocalServer app;
public:
inline void init(int argc, char ** argv)
{
app.init(argc, argv);
}
inline int run()
{
return app.run();
}
};
std::optional<FuzzApp> fuzz_app;
std::optional<DB::LocalServer> fuzz_app;
extern "C" int LLVMFuzzerInitialize(int * pargc, char *** pargv)
{