Fix MSVC build.

This commit is contained in:
Brandon Wright 2019-06-02 20:04:44 -05:00
parent 124323f614
commit ac1bfe2369
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ bml_node *bml_node::find_subnode(std::string name)
bool bml_node::parse_file(std::string filename)
{
std::ifstream file(filename, std::ios_base::binary);
std::ifstream file(filename.c_str(), std::ios_base::binary);
if (!file)
return false;