This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/14863
Change subject: Timeval: Restore output stream flags after changing them
......................................................................
Timeval: Restore output stream flags after changing them
Change-Id: I866505f29ed56d8f3ba3aaba70c0d82479987c64
Closes: OS#149361
---
M CommonLibs/Timeval.cpp
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/63/14863/1
diff --git a/CommonLibs/Timeval.cpp b/CommonLibs/Timeval.cpp
index fd1bcda..420dd04 100644
--- a/CommonLibs/Timeval.cpp
+++ b/CommonLibs/Timeval.cpp
@@ -87,8 +87,9 @@
ostream& operator<<(ostream& os, const Timeval& tv)
{
- os.setf( ios::fixed, ios::floatfield );
+ ios_base::fmtflags flags_backup = os.setf( ios::fixed, ios::floatfield );
os << tv.seconds();
+ os.flags( flags_backup );
return os;
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/14863
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I866505f29ed56d8f3ba3aaba70c0d82479987c64
Gerrit-Change-Number: 14863
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at gnumonks.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190721/7a89e9a8/attachment.htm>