Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/sysc/datatypes/int/sc_signed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -575,11 +575,7 @@ void
sc_signed::dump(::std::ostream& os) const
{
// Save the current setting, and set the base to decimal.
#if defined(__MINGW32__)
std::_Ios_Fmtflags old_flags = os.setf(::std::ios::dec,::std::ios::basefield);
#else
fmtflags old_flags = os.setf(::std::ios::dec, ::std::ios::basefield);
#endif
auto old_flags = os.setf(::std::ios::dec, ::std::ios::basefield);

os << "width = " << length() << ::std::endl;
os << "value = " << *this << ::std::endl;
Expand Down
6 changes: 1 addition & 5 deletions src/sysc/datatypes/int/sc_unsigned.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -554,11 +554,7 @@ void
sc_unsigned::dump(::std::ostream& os) const
{
// Save the current setting, and set the base to decimal.
#if defined(__MINGW32__)
std::_Ios_Fmtflags old_flags = os.setf(::std::ios::dec,::std::ios::basefield);
#else
fmtflags old_flags = os.setf(::std::ios::dec, ::std::ios::basefield);
#endif
auto old_flags = os.setf(::std::ios::dec, ::std::ios::basefield);

os << "width = " << length() << ::std::endl;
os << "value = " << *this << ::std::endl;
Expand Down