[PATCH v1 3/5] CoverageMapBase.cc: Restore ostream format
Ryan Long
ryan.long at oarcorp.com
Wed Aug 4 15:54:22 UTC 2021
CID 1503022: Not restoring ostream format
Remove ostream_guard, change ostream format back to defaults.
Closes #4470
---
tester/covoar/CoverageMapBase.cc | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tester/covoar/CoverageMapBase.cc b/tester/covoar/CoverageMapBase.cc
index 4de9307..4215bc8 100644
--- a/tester/covoar/CoverageMapBase.cc
+++ b/tester/covoar/CoverageMapBase.cc
@@ -12,12 +12,9 @@
#include <iomanip>
#include <rld.h>
-#include <rtems-utils.h>
#include "CoverageMapBase.h"
-typedef rtems::utils::ostream_guard ostream_guard;
-
namespace Coverage {
AddressInfo::AddressInfo ()
@@ -78,11 +75,10 @@ namespace Coverage {
void AddressRange::dump (std::ostream& out, bool show_slots) const
{
- ostream_guard old_state( out );
-
out << std::hex << std::setfill('0')
<< "Address range: low = " << std::setw(8) << lowAddress
<< " high = " << std::setw(8) << highAddress
+ << std::dec << std::setfill(' ')
<< std::endl;
if (show_slots) {
size_t slot = 0;
--
1.8.3.1
More information about the devel
mailing list