aboutsummaryrefslogtreecommitdiffstats
path: root/src/odr-padenc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/odr-padenc.cpp')
-rw-r--r--src/odr-padenc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/odr-padenc.cpp b/src/odr-padenc.cpp
index e065755..d44dc67 100644
--- a/src/odr-padenc.cpp
+++ b/src/odr-padenc.cpp
@@ -105,8 +105,8 @@ static void usage(const char* name) {
static std::string list_dls_files(std::vector<std::string> dls_files) {
std::string result = "";
- for(std::string dls_file : dls_files) {
- if(!result.empty())
+ for (const std::string& dls_file : dls_files) {
+ if (!result.empty())
result += "/";
result += "'" + dls_file + "'";
}