Use NULL instead of nullptr, for pre-C++11 builds.
This commit is contained in:
parent
ec5ad0f869
commit
18abd8f512
|
@ -5342,10 +5342,10 @@ OsStackTraceGetterInterface* UnitTestImpl::os_stack_trace_getter() {
|
|||
|
||||
// Returns the most specific TestResult currently running.
|
||||
TestResult* UnitTestImpl::current_test_result() {
|
||||
if (current_test_info_ != nullptr) {
|
||||
if (current_test_info_ != NULL) {
|
||||
return ¤t_test_info_->result_;
|
||||
}
|
||||
if (current_test_case_ != nullptr) {
|
||||
if (current_test_case_ != NULL) {
|
||||
return ¤t_test_case_->ad_hoc_test_result_;
|
||||
}
|
||||
return &ad_hoc_test_result_;
|
||||
|
|
Loading…
Reference in New Issue
Block a user