[refactor] replace boost smart ptr with stl (#6856)
1. replace all boost::shared_ptr to std::shared_ptr 2. replace all boost::scopted_ptr to std::unique_ptr 3. replace all boost::scoped_array to std::unique<T[]> 4. replace all boost:thread to std::thread
This commit is contained in:
@ -97,7 +97,7 @@ void test_float_value(const std::string& s, StringParser::ParseResult exp_result
|
||||
EXPECT_EQ(exp_result, result);
|
||||
|
||||
if (exp_result == StringParser::PARSE_SUCCESS && result == exp_result) {
|
||||
T exp_val = strtod(s.c_str(), NULL);
|
||||
T exp_val = strtod(s.c_str(), nullptr);
|
||||
EXPECT_EQ(exp_val, val);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user