Skip to content

Commit 7e91a88

Browse files
committed
correct usae after move
1 parent ce2c9f6 commit 7e91a88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generator/standalone_main.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,10 @@ std::vector<std::future<google::cloud::Status>> GenerateCodeFromProtos(
388388
std::vector<std::string> mixin_files_to_append;
389389
auto path = ServiceConfigYamlPath(yaml_root, scaffold_vars);
390390
if (!path.empty()) {
391-
args.emplace_back(absl::StrCat("--cpp_codegen_opt=service_config_yaml=",
392-
std::move(path)));
393391
auto mixins =
394392
google::cloud::generator_internal::GetMixinServiceProto(path);
393+
args.emplace_back(absl::StrCat("--cpp_codegen_opt=service_config_yaml=",
394+
std::move(path)));
395395
for (auto const& mixin_service : mixins) {
396396
if (mixin_service.proto_file_path != service.service_proto_path()) {
397397
args.emplace_back("--cpp_codegen_opt=omit_service=" +

0 commit comments

Comments
 (0)