Fixed style checker complaint

This commit is contained in:
Alexander Kazakov 2020-04-13 20:04:17 +03:00
parent e05e2c7628
commit 0aa4c85602

View File

@ -40,7 +40,8 @@ namespace
class FirstNonDeterministicFuncMatcher class FirstNonDeterministicFuncMatcher
{ {
public: public:
struct Data { struct Data
{
const Context & context; const Context & context;
std::optional<String> nondeterministic_function_name; std::optional<String> nondeterministic_function_name;
}; };
@ -68,8 +69,7 @@ public:
} }
}; };
using FirstNonDeterministicFuncFinder = using FirstNonDeterministicFuncFinder = InDepthNodeVisitor<FirstNonDeterministicFuncMatcher, true>;
InDepthNodeVisitor<FirstNonDeterministicFuncMatcher, true>;
std::optional<String> findFirstNonDeterministicFuncName(const MutationCommand & command, const Context & context) std::optional<String> findFirstNonDeterministicFuncName(const MutationCommand & command, const Context & context)
{ {