mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
Fix style
This commit is contained in:
parent
61954d855d
commit
b67e79430d
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
#include <Common/typeid_cast.h>
|
#include <Common/typeid_cast.h>
|
||||||
|
|
||||||
namespace DB {
|
namespace DB
|
||||||
|
{
|
||||||
|
|
||||||
/* This base class adds public methods:
|
/* This base class adds public methods:
|
||||||
* - Derived * as<Derived>()
|
* - Derived * as<Derived>()
|
||||||
@ -12,7 +13,8 @@ namespace DB {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
template <class Base>
|
template <class Base>
|
||||||
class TypePromotion {
|
class TypePromotion
|
||||||
|
{
|
||||||
private:
|
private:
|
||||||
/// Need a helper-struct to fight the lack of the function-template partial specialization.
|
/// Need a helper-struct to fight the lack of the function-template partial specialization.
|
||||||
template <class T, bool is_const, bool is_ref = std::is_reference_v<T>>
|
template <class T, bool is_const, bool is_ref = std::is_reference_v<T>>
|
||||||
|
Loading…
Reference in New Issue
Block a user