From 816607e2122dd46758138bf4e57799a069d2ccd4 Mon Sep 17 00:00:00 2001 From: zerotypos-found Date: Tue, 15 Nov 2016 11:59:51 +0900 Subject: [PATCH] Remove tabs and Non-ASCII characters. --- include/boost/utility/string_view.hpp | 4 ++-- test/string_ref_test2.cpp | 16 ++++++++-------- value_init_workaround_test.cpp | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/boost/utility/string_view.hpp b/include/boost/utility/string_view.hpp index f5d5eb9..167b30c 100644 --- a/include/boost/utility/string_view.hpp +++ b/include/boost/utility/string_view.hpp @@ -1,6 +1,6 @@ /* - © Copyright (c) Marshall Clow 2012-2015. - © Copyright Beman Dawes 2015 + Copyright (c) Marshall Clow 2012-2015. + Copyright (c) Beman Dawes 2015 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) diff --git a/test/string_ref_test2.cpp b/test/string_ref_test2.cpp index 9559c67..081af54 100644 --- a/test/string_ref_test2.cpp +++ b/test/string_ref_test2.cpp @@ -83,7 +83,7 @@ void reverse ( const char *arg ) { BOOST_CHECK ( std::equal ( sr1.begin (), sr1.end (), string2.begin ())); } -// This helper function eliminates signed vs. unsigned warnings +// This helper function eliminates signed vs. unsigned warnings string_ref::size_type ptr_diff ( const char *res, const char *base ) { BOOST_CHECK ( res >= base ); return static_cast ( res - base ); @@ -112,7 +112,7 @@ void find ( const char *arg ) { ++p; } -// Look for pairs on characters (searching from the start) +// Look for pairs on characters (searching from the start) sr1 = arg; p = arg; while ( *p && *(p+1)) { @@ -249,7 +249,7 @@ void to_string ( const char *arg ) { str1.assign ( arg ); sr1 = arg; -// str2 = sr1.to_string > (); +// str2 = sr1.to_string > (); str2 = sr1.to_string (); BOOST_CHECK ( str1 == str2 ); @@ -266,11 +266,11 @@ void compare ( const char *arg ) { str1.assign ( arg ); sr1 = arg; - BOOST_CHECK ( sr1 == sr1); // compare string_ref and string_ref - BOOST_CHECK ( sr1 == str1); // compare string and string_ref - BOOST_CHECK ( str1 == sr1 ); // compare string_ref and string - BOOST_CHECK ( sr1 == arg ); // compare string_ref and pointer - BOOST_CHECK ( arg == sr1 ); // compare pointer and string_ref + BOOST_CHECK ( sr1 == sr1); // compare string_ref and string_ref + BOOST_CHECK ( sr1 == str1); // compare string and string_ref + BOOST_CHECK ( str1 == sr1 ); // compare string_ref and string + BOOST_CHECK ( sr1 == arg ); // compare string_ref and pointer + BOOST_CHECK ( arg == sr1 ); // compare pointer and string_ref if ( sr1.size () > 0 ) { (*str1.rbegin())++; diff --git a/value_init_workaround_test.cpp b/value_init_workaround_test.cpp index 190c267..10c9b4c 100644 --- a/value_init_workaround_test.cpp +++ b/value_init_workaround_test.cpp @@ -132,7 +132,7 @@ int main() const unsigned num_failures = FAILED_TO_VALUE_INITIALIZE(boost::value_initialized()) + FAILED_TO_VALUE_INITIALIZE(boost::value_initialized()) + - FAILED_TO_VALUE_INITIALIZE(boost::value_initialized()); + FAILED_TO_VALUE_INITIALIZE(boost::value_initialized()); #ifdef BOOST_DETAIL_VALUE_INIT_WORKAROUND_SUGGESTED // One or more failures are expected.