Skip to content

Commit

Permalink
i'm tired, boss
Browse files Browse the repository at this point in the history
  • Loading branch information
Mishura4 committed Aug 15, 2023
1 parent 33de527 commit 2787cc5
Show file tree
Hide file tree
Showing 2 changed files with 189 additions and 189 deletions.
2 changes: 1 addition & 1 deletion buildtools/classes/Generator/CoroGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function generateCppDef(string $returnType, string $currentFunction, stri
{
if (substr($parameterNames, 0, 2) === ", ")
$parameterNames = substr($parameterNames, 2);
return "awaitable<confirmation_callback_t> cluster::co_${currentFunction}($noDefaults) {\n\treturn awaitable{[=, this] (auto &&cc) { this->$currentFunction($parameterNames" . (empty($parameterNames) ? "": ", ") . "cc)}; };\n}\n\n";
return "awaitable<confirmation_callback_t> cluster::co_${currentFunction}($noDefaults) {\n\treturn awaitable{ [=, this] (auto &&cc) { this->$currentFunction($parameterNames" . (empty($parameterNames) ? "": ", ") . "cc); } };\n}\n\n";
}

/**
Expand Down
Loading

0 comments on commit 2787cc5

Please sign in to comment.