diff options
author | Colin Snover | 2017-12-04 19:44:45 -0600 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-18 16:30:05 +0200 |
commit | b9a649c3e167bc8176d796db77a6b8449a731250 (patch) | |
tree | 0e11ebd6c56852d396bff0ee912a5aef50032aa9 /dists/ps3/ICON0.PNG | |
parent | 08314ae61f9ce4efd8ecc221b1a6aec522d82ae8 (diff) | |
download | scummvm-rg350-b9a649c3e167bc8176d796db77a6b8449a731250.tar.gz scummvm-rg350-b9a649c3e167bc8176d796db77a6b8449a731250.tar.bz2 scummvm-rg350-b9a649c3e167bc8176d796db77a6b8449a731250.zip |
GUI: Replace use of strdup with Common::String
strdup is a POSIX API, not an ANSI C API. It is not available with
-std=c++11 on newlib-based systems, and VS 2015 will throw errors
unless it is #defined to alias to _strdup or unless deprecation
warnings are turned off (which is not a good idea in general).
Common::String is a safer and potentially faster (due to small
string optimisation) alternative, so prefer it instead.
Diffstat (limited to 'dists/ps3/ICON0.PNG')
0 files changed, 0 insertions, 0 deletions