Skip to content

Commit

Permalink
Fixed path to string conversion build error
Browse files Browse the repository at this point in the history
  • Loading branch information
guanyung-rs committed Aug 18, 2023
1 parent 561b6a9 commit 3b99875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/Programmer/Programmer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void programmer_entry(const CFGCommon_ARG* cmdarg) {
(ec ? ec.message().c_str() : ""));
return;
}
InitLibrary(openOcdExecPath);
InitLibrary(openOcdExecPath.string());
if (subCmd == "list_device") {
auto list_device =
static_cast<const CFGArg_PROGRAMMER_LIST_DEVICE*>(arg->get_sub_arg());
Expand Down

0 comments on commit 3b99875

Please sign in to comment.