mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
dbms: fixed incompatibility with newer version of boost.
This commit is contained in:
parent
a39c9a9083
commit
2c644482db
@ -29,13 +29,6 @@ typedef boost::make_recursive_variant<
|
||||
typedef std::vector<Field> Array; /// Значение типа "массив"
|
||||
|
||||
|
||||
/// почему-то у boost::variant определены операторы < и ==, но не остальные операторы сравнения
|
||||
inline bool operator!= (const Field & lhs, const Field & rhs) { return !(lhs == rhs); }
|
||||
inline bool operator<= (const Field & lhs, const Field & rhs) { return lhs < rhs || lhs == rhs; }
|
||||
inline bool operator>= (const Field & lhs, const Field & rhs) { return !(lhs < rhs); }
|
||||
inline bool operator> (const Field & lhs, const Field & rhs) { return !(lhs < rhs) && !(lhs == rhs); }
|
||||
|
||||
|
||||
/** Числовое значение конкретного типа Field */
|
||||
namespace FieldType
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user