summaryrefslogtreecommitdiff
path: root/idlc/source/options.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/options.cxx')
-rw-r--r--idlc/source/options.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx
index be907232ca1b..b183c2bf6889 100644
--- a/idlc/source/options.cxx
+++ b/idlc/source/options.cxx
@@ -101,14 +101,14 @@ bool Options::checkArgument (std::vector< std::string > & rArgs, char const * ar
}
default:
// "-<option>" ([long] option, w/o param)
- rArgs.push_back(std::string(arg, len));
+ rArgs.emplace_back(arg, len);
break;
}
}
break;
default:
// "<param>"
- rArgs.push_back(std::string(arg, len));
+ rArgs.emplace_back(arg, len);
break;
}
}