Make function static

This commit is contained in:
Mikhail Filimonov 2020-05-28 20:10:54 +02:00
parent 4de1d6d421
commit b97ff8136b
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ StorageKafka::StorageKafka(
task->deactivate();
}
const String StorageKafka::getDefaultClientId(const StorageID & table_id_) const
String StorageKafka::getDefaultClientId(const StorageID & table_id_)
{
std::stringstream ss;
ss << VERSION_NAME << "-" << getFQDNOrHostName() << "-" << table_id_.database_name << "-" << table_id_.table_name;

View File

@ -116,7 +116,7 @@ private:
void updateConfiguration(cppkafka::Configuration & conf);
void threadFunc();
const String getDefaultClientId(const StorageID & table_id_) const;
static String getDefaultClientId(const StorageID & table_id_);
bool streamToViews();
bool checkDependencies(const StorageID & table_id);
};