Skip to content

Commit 8f44dab

Browse files
committed
fix: update build filepath.
1 parent 2880fb4 commit 8f44dab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_model.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ namespace test_model
3232
string rootStr = string(root);
3333

3434
vector <string> directories = Split(rootStr, "\\", -1);
35-
vector <string> left{ "casbin-cpp" };
35+
vector<string>::iterator it = find(directories.begin(), directories.end(), "x64");
36+
vector <string> left{ *(it - 1) };
3637
vector <string> ::iterator it = find_end(directories.begin(), directories.end(), left.begin(), left.end());
3738
int index = int(directories.size() + (it - directories.end()));
3839

0 commit comments

Comments
 (0)