Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1c4cfa1

Browse files
committed
Updated AddDefaultArgument usage
1 parent31e00e4 commit1c4cfa1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎buildcc/lib/target/src/custom_generator/custom_generator.cpp‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ namespace buildcc {
2929

3030
voidCustomGenerator::AddDefaultArguments(
3131
const std::unordered_map<std::string, std::string> &arguments) {
32-
command_.AddDefaultArguments(arguments);
32+
for (constauto &arg_iter : arguments) {
33+
command_.AddDefaultArgument(arg_iter.first,
34+
command_.Construct(arg_iter.second));
35+
}
3336
}
3437

3538
voidCustomGenerator::AddGenInfo(const std::string &id,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp