Fix style

This commit is contained in:
Ivan Lezhankin 2019-03-15 20:22:19 +03:00
parent 61954d855d
commit b67e79430d

View File

@ -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>>