Skip to content

Commit 32f2dbd

Browse files
committed
Removed extra .c_str() call.
1 parent 61f6130 commit 32f2dbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dbc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void DbcParser::parse_file(const std::string& file_name) {
9393
throw NonDbcFileFormatError(file_name, extension);
9494
}
9595

96-
std::ifstream stream(file_name.c_str());
96+
std::ifstream stream(file_name);
9797

9898
parse_file(stream);
9999
}

0 commit comments

Comments
 (0)