From c2dd2e8a2e202b3cb63023306569d4f26e293adb Mon Sep 17 00:00:00 2001 From: David Korth Date: Sat, 14 Sep 2019 16:40:34 -0400 Subject: Use std::istringstream or std::ostringstream instead of std::stringstream where possible. This removes std::iostream from the inheritance chain, which reduces overhead slightly. --- Source/Core/Common/Debug/Watches.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Common/Debug') diff --git a/Source/Core/Common/Debug/Watches.cpp b/Source/Core/Common/Debug/Watches.cpp index 9114f2e83d..a17551f77c 100644 --- a/Source/Core/Common/Debug/Watches.cpp +++ b/Source/Core/Common/Debug/Watches.cpp @@ -104,7 +104,7 @@ std::vector Watches::SaveToStrings() const std::vector watches; for (const auto& watch : m_watches) { - std::stringstream ss; + std::ostringstream ss; ss << std::hex << watch.address << " " << watch.name; watches.push_back(ss.str()); } -- cgit v1.2.3