explicitly specify optional parameter
This commit is contained in:
parent
ebcdcb5f00
commit
94a2188090
@ -46,7 +46,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
template<class T>
|
||||
auto get_value_by_key(T const& object, const char *key) -> decltype(object.get_value_by_key(key))
|
||||
{
|
||||
return object.get_value_by_key(key);
|
||||
return object.get_value_by_key(key, "");
|
||||
}
|
||||
|
||||
ScriptingEnvironment::ScriptingEnvironment(const char *file_name)
|
||||
|
Loading…
Reference in New Issue
Block a user