Skip to content

Commit 1ed7649

Browse files
committed
Cleanup: Review: const std::string &
1 parent 67d61ba commit 1ed7649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rtapi/uspace_rtapi_main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ static int harden_rt() {
747747
return 0;
748748
}
749749

750-
static RtapiApp *makeDllApp(std::string dllName, int policy) {
750+
static RtapiApp *makeDllApp(const std::string &dllName, int policy) {
751751
void *dll = nullptr;
752752
dll = dlopen(dllName.c_str(), RTLD_NOW);
753753
if (!dll) {

0 commit comments

Comments
 (0)