zxs 1 tháng trước cách đây
mục cha
commit
d0c438f3b9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      robot/robotics/mvc.hpp

+ 1 - 1
robot/robotics/mvc.hpp

@@ -1342,7 +1342,7 @@ namespace robotics {
 					if (filepath.empty())
 						return "";
 					if (std::filesystem::exists(filepath)) {
-						std::ifstream file(path, std::ios::in);
+						std::ifstream file(filepath, std::ios::in);
 						if (file.is_open()) {
 							return std::string((std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>());
 						}