Boost unit tests: fix Xcode warnings

This commit is contained in:
mattsc 2022-07-01 15:30:28 -07:00
parent 8cb19eafbf
commit 1f9f7a076c
2 changed files with 4 additions and 1 deletions

View file

@ -6563,6 +6563,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_FLOAT_CONVERSION = NO;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = YES;
GCC_PREPROCESSOR_DEFINITIONS = (
@ -6698,6 +6699,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_FLOAT_CONVERSION = NO;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
@ -6723,6 +6725,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ENABLE_OBJC_WEAK = YES;
CLANG_WARN_FLOAT_CONVERSION = NO;
CODE_SIGN_IDENTITY = "-";
COPY_PHASE_STRIP = YES;
GCC_PREPROCESSOR_DEFINITIONS = (

View file

@ -24,7 +24,7 @@
#include <boost/test/unit_test.hpp>
namespace std {
std::ostream& operator<<(std::ostream& str, const std::pair<const std::string, std::string>& p)
static std::ostream& operator<<(std::ostream& str, const std::pair<const std::string, std::string>& p)
{
return str << '(' << p.first << " => " << p.second << ')';
}