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 ErrorCodes
{
extern const int BAD_ARGUMENTS;
};
class CommandSwitchDisk final : public ICommand
{
public:

View File

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

View File

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

View File

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