From: Marco Costalba Date: Sun, 12 Apr 2009 00:09:03 +0000 (+0100) Subject: Fix a very nasty conversion bug in Option c'tor X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=e38ad4d42ba0b363581444feafd0f10b92e17f9a;hp=e38ad4d42ba0b363581444feafd0f10b92e17f9a Fix a very nasty conversion bug in Option c'tor Sometimes C++ can be really bad! In this case an hard coded c string selects Option c'tor with int argument instead of the std::string one becuase it is considered a better matching by the compiler. Fix the bug changing the argument type from std::string to const char* so to be a better match then the int one. Signed-off-by: Marco Costalba ---