Style fixes, removed redundant includes

This commit is contained in:
Gleb Novikov 2020-05-04 23:20:51 +03:00
parent c637d99e07
commit 6e6a195c13
3 changed files with 4 additions and 5 deletions

View File

@ -1,10 +1,7 @@
#include "IVolume.h"
#include <Common/StringUtils/StringUtils.h>
#include <Common/escapeForFileName.h>
#include <Common/formatReadable.h>
#include <Common/quoteString.h>
#include <common/logger_useful.h>
#include <memory>

View File

@ -19,7 +19,8 @@ namespace DB
* VolumeJBOD reserves space on the next disk after the last used, other future implementations
* will reserve, for example, equal spaces on all disks.
*/
class IVolume : public Space {
class IVolume : public Space
{
public:
IVolume(String name_, Disks disks_): disks(std::move(disks_)), name(std::move(name_))
{

View File

@ -10,7 +10,8 @@ namespace DB
* When MergeTree engine wants to write part it requests VolumeJBOD to reserve space on the next available
* disk and then writes new part to that disk.
*/
class VolumeJBOD : public IVolume {
class VolumeJBOD : public IVolume
{
public:
VolumeJBOD(String name_, Disks disks_, UInt64 max_data_part_size_)
: IVolume(name_, disks_), max_data_part_size(max_data_part_size_)