From ac1bfe2369dad7b7db70122504bae08183b4508f Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Sun, 2 Jun 2019 20:04:44 -0500 Subject: [PATCH] Fix MSVC build. --- bml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bml.cpp b/bml.cpp index 9720396f..df2531e0 100644 --- a/bml.cpp +++ b/bml.cpp @@ -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;