From 7a9c529381a42bc96c40815a232a4316be7ca4c2 Mon Sep 17 00:00:00 2001 From: vng Date: Tue, 18 Nov 2014 13:29:56 +0300 Subject: [PATCH] Code style fixes. --- base/bits.hpp | 2 -- coding/hex.hpp | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/base/bits.hpp b/base/bits.hpp index 374b70683e..b026193b33 100644 --- a/base/bits.hpp +++ b/base/bits.hpp @@ -1,8 +1,6 @@ #pragma once #include "assert.hpp" -#include "assert.hpp" - #include "../std/type_traits.hpp" #include "../std/stdint.hpp" diff --git a/coding/hex.hpp b/coding/hex.hpp index 251079cfa1..d766d4c126 100644 --- a/coding/hex.hpp +++ b/coding/hex.hpp @@ -3,8 +3,7 @@ #include "../base/base.hpp" #include "../std/string.hpp" - -#include +#include "../std/type_traits.hpp" namespace impl @@ -40,7 +39,7 @@ inline string ToHex(ContainerT const & container) template inline string NumToHex(IntT n) { - STATIC_ASSERT(boost::is_integral::value); + STATIC_ASSERT(is_integral::value); uint8_t buf[sizeof(n)];