Also add high-level interface to pybind11 interface

This commit is contained in:
Ian Bell
2016-10-21 19:42:23 -06:00
parent 49c6932fda
commit 2bbb6d068c
3 changed files with 43 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ std::string config_key_description(configuration_keys keys)
return ""; // will never get here, just to make compiler happy
};
std::string config_key_description(std::string key)
std::string config_key_description(const std::string &key)
{
/* ***MAGIC WARNING**!!
* See http://stackoverflow.com/a/148610