mirror of
https://github.com/nasa/trick.git
synced 2025-06-24 09:46:42 +00:00
Merge pull request #366 from iamthad/use_stderr
Use std::cerr instead of std::cout for error messages
This commit is contained in:
@ -14,7 +14,7 @@ void Trick::MemoryManager::get_alloc_deps_in_allocation(ALLOC_INFO* alloc_info )
|
||||
}
|
||||
|
||||
if (alloc_info == NULL) {
|
||||
std::cout << "ERROR: Trick::MemoryManager::get_alloc_deps_in_allocation called with alloc_info == NULL." << std::endl;
|
||||
std::cerr << "ERROR: Trick::MemoryManager::get_alloc_deps_in_allocation called with alloc_info == NULL." << std::endl;
|
||||
std::cout.flush();
|
||||
return;
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ void Trick::MemoryManager::get_stl_dependencies( ALLOC_INFO* alloc_info ) {
|
||||
}
|
||||
|
||||
if (alloc_info == NULL) {
|
||||
std::cout << "ERROR: Trick::MemoryManager::get_stl_dependencies called with alloc_info == NULL." << std::endl;
|
||||
std::cerr << "ERROR: Trick::MemoryManager::get_stl_dependencies called with alloc_info == NULL." << std::endl;
|
||||
std::cout.flush();
|
||||
return;
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ void Trick::MemoryManager::restore_stls( ALLOC_INFO* alloc_info ) {
|
||||
}
|
||||
|
||||
if (alloc_info == NULL) {
|
||||
std::cout << "ERROR: Trick::MemoryManager::restore_stls called with alloc_info == NULL." << std::endl;
|
||||
std::cerr << "ERROR: Trick::MemoryManager::restore_stls called with alloc_info == NULL." << std::endl;
|
||||
std::cout.flush();
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user