Skip to content

Commit

Permalink
Merge pull request ClickHouse#49545 from bgaifullin/patch-1
Browse files Browse the repository at this point in the history
Remove extra semicolons
  • Loading branch information
hanfei1991 authored May 5, 2023
2 parents 3dfc0bd + d2bd0bc commit 3f0c360
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/Common/logger_useful.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ namespace Poco { class Logger; }

namespace
{
[[maybe_unused]] const ::Poco::Logger * getLogger(const ::Poco::Logger * logger) { return logger; };
[[maybe_unused]] const ::Poco::Logger * getLogger(const std::atomic<::Poco::Logger *> & logger) { return logger.load(); };
[[maybe_unused]] std::unique_ptr<LogToStrImpl> getLogger(std::unique_ptr<LogToStrImpl> && logger) { return logger; };
[[maybe_unused]] std::unique_ptr<LogFrequencyLimiterIml> getLogger(std::unique_ptr<LogFrequencyLimiterIml> && logger) { return logger; };
[[maybe_unused]] const ::Poco::Logger * getLogger(const ::Poco::Logger * logger) { return logger; }
[[maybe_unused]] const ::Poco::Logger * getLogger(const std::atomic<::Poco::Logger *> & logger) { return logger.load(); }
[[maybe_unused]] std::unique_ptr<LogToStrImpl> getLogger(std::unique_ptr<LogToStrImpl> && logger) { return logger; }
[[maybe_unused]] std::unique_ptr<LogFrequencyLimiterIml> getLogger(std::unique_ptr<LogFrequencyLimiterIml> && logger) { return logger; }
}

#define LOG_IMPL_FIRST_ARG(X, ...) X
Expand Down
2 changes: 1 addition & 1 deletion src/Interpreters/Cache/IFileCachePriority.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ class IFileCachePriority : private boost::noncopyable
const size_t max_elements = 0;
};

};
}
2 changes: 1 addition & 1 deletion src/Interpreters/Cache/LRUFileCachePriority.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ size_t LRUFileCachePriority::LRUFileCacheIterator::use(const CacheGuard::Lock &)
return ++queue_iter->hits;
}

};
}
2 changes: 1 addition & 1 deletion src/Interpreters/Cache/LRUFileCachePriority.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ class LRUFileCachePriority::LRUFileCacheIterator : public IFileCachePriority::II
mutable LRUFileCachePriority::LRUQueueIterator queue_iter;
};

};
}

0 comments on commit 3f0c360

Please sign in to comment.