Skip to content

Commit

Permalink
[?] Do not rely on lifetime extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Mar 4, 2024
1 parent c6367dd commit 31c92ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indexing_utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,8 @@ namespace irods::indexing
{
using json = nlohmann::json;

const auto& [id_bool, obj_optional_ID] = kws_get<std::string>(_extra_options, "_obj_optional_ID");
const auto& [tag_bool, job_category_tag] = kws_get<std::string>(_extra_options, "job_category_tag");
const auto [id_bool, obj_optional_ID] = kws_get<std::string>(_extra_options, "_obj_optional_ID");
const auto [tag_bool, job_category_tag] = kws_get<std::string>(_extra_options, "job_category_tag");

json rule_obj;
rule_obj["rule-engine-operation"] = _event;
Expand Down

0 comments on commit 31c92ec

Please sign in to comment.