Correct style check

This commit is contained in:
divanik 2024-05-27 12:45:05 +00:00
parent 846d46075d
commit 4574ee7504
4 changed files with 14 additions and 8 deletions

View File

@ -8,6 +8,11 @@
namespace DB namespace DB
{ {
namespace ErrorCodes
{
extern const int BAD_ARGUMENTS;
};
class CommandSwitchDisk final : public ICommand class CommandSwitchDisk final : public ICommand
{ {
public: public:

View File

@ -24,6 +24,13 @@
namespace DB namespace DB
{ {
namespace ErrorCodes
{
extern const int BAD_ARGUMENTS;
extern const int LOGICAL_ERROR;
};
CommandPtr DisksApp::getCommandByName(String command) const CommandPtr DisksApp::getCommandByName(String command) const
{ {
auto it = aliases.find(command); auto it = aliases.find(command);

View File

@ -15,12 +15,6 @@
namespace DB namespace DB
{ {
namespace ErrorCodes
{
extern const int BAD_ARGUMENTS;
extern const int LOGICAL_ERROR;
};
using ProgramOptionsDescription = boost::program_options::options_description; using ProgramOptionsDescription = boost::program_options::options_description;
using CommandLineOptions = boost::program_options::variables_map; using CommandLineOptions = boost::program_options::variables_map;

View File

@ -1,6 +1,6 @@
#include <memory> #pragma once
#include <string>
#include <memory>
namespace DB namespace DB
{ {