From a786a7ccb15bd869b4e39adebd508be6ee7ef916 Mon Sep 17 00:00:00 2001 From: bolero-MURAKAMI Date: Thu, 27 Jun 2013 00:38:14 +0900 Subject: [PATCH] erase old code --- libs/cstring/test/memchr.cpp | 2 -- sprout/cstring/memchr.hpp | 7 +++---- sprout/cstring/memcmp.hpp | 5 ++--- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/libs/cstring/test/memchr.cpp b/libs/cstring/test/memchr.cpp index 71d3b19e..945ad1dd 100644 --- a/libs/cstring/test/memchr.cpp +++ b/libs/cstring/test/memchr.cpp @@ -2,7 +2,6 @@ #define SPROUT_LIBS_CSTRING_TEST_MEMCHR_CPP #include -#include #include namespace testspr { @@ -15,7 +14,6 @@ namespace testspr { { SPROUT_STATIC_CONSTEXPR auto found = sprout::memchr(buf, b, 12); TESTSPR_BOTH_ASSERT(buf + 8 == found); -// TESTSPR_BOTH_ASSERT(sprout::distance(buf, reinterpret_cast(found)) == 8); } } } diff --git a/sprout/cstring/memchr.hpp b/sprout/cstring/memchr.hpp index e0375674..e93874eb 100644 --- a/sprout/cstring/memchr.hpp +++ b/sprout/cstring/memchr.hpp @@ -2,13 +2,12 @@ #define SPROUT_CSTRING_MEMCHR_HPP #include -#include -#include -#include - #include #include +#include #include +#include +#include namespace sprout { namespace detail { diff --git a/sprout/cstring/memcmp.hpp b/sprout/cstring/memcmp.hpp index 1f15d911..e55fb246 100644 --- a/sprout/cstring/memcmp.hpp +++ b/sprout/cstring/memcmp.hpp @@ -2,13 +2,12 @@ #define SPROUT_CSTRING_MEMCMP_HPP #include +#include #include +#include #include #include -#include -#include - namespace sprout { // 7.21.4.1 memcmp ֐ //