Skip to content

Commit

Permalink
Use ostringstream instead of deprecated ostrstream
Browse files Browse the repository at this point in the history
  • Loading branch information
caramelli authored and rzr committed Nov 14, 2024
1 parent c66d580 commit 7f6887d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Pinball.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

#include <fstream>
#include <string>
//#include <sstream>
#include <strstream>
#include <iostream>

#include <sys/stat.h>
Expand Down Expand Up @@ -144,7 +142,7 @@ class MyMenuKey : public MenuFct {
return EM_MENU_NOP;
}
const char * getText() {
ostrstream stm;
ostringstream stm;
stm.clear();
string name(m_Name);
const char * keyname = Config::getInstance()->getKeyCommonName(Config::getInstance()->getKey(name));
Expand Down

0 comments on commit 7f6887d

Please sign in to comment.