mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 17:49:01 +00:00
Use std::istringstream or std::ostringstream instead of std::stringstream where possible.
This removes std::iostream from the inheritance chain, which reduces overhead slightly.
This commit is contained in:
parent
6e549bb668
commit
c2dd2e8a2e
14 changed files with 20 additions and 20 deletions
|
@ -185,7 +185,7 @@ std::string GetRTCDisplay()
|
|||
const time_t current_time = CEXIIPL::GetEmulatedTime(CEXIIPL::UNIX_EPOCH);
|
||||
const tm* const gm_time = gmtime(¤t_time);
|
||||
|
||||
std::stringstream format_time;
|
||||
std::ostringstream format_time;
|
||||
format_time << std::put_time(gm_time, "Date/Time: %c\n");
|
||||
return format_time.str();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue