Skip to content

Commit

Permalink
Merge pull request #26 from 5cript/fix/remove-template
Browse files Browse the repository at this point in the history
Fix/remove template
  • Loading branch information
5cript authored Nov 23, 2024
2 parents 2781a88 + f233448 commit a8eda5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#AlignAfterOpenBracket: BlockIndent
AlignAfterOpenBracket: AlwaysBreak
AlignEscapedNewlines: DontAlign
AlignOperands: true
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: true
AllowAllConstructorInitializersOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
Expand Down Expand Up @@ -36,7 +34,6 @@ BraceWrapping:
SplitEmptyFunction: false
SplitEmptyNamespace: true
SplitEmptyRecord: false
AlignEscapedNewlines: DontAlign
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
BreakStringLiterals: true
Expand Down
4 changes: 2 additions & 2 deletions include/roar/session/session.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ namespace Roar
auto request = Request<BodyT>(self->req_.release(), std::move(self->originalExtensions_));
try
{
self->promise_->template resolve(Detail::ref(*self->session_), Detail::cref(request));
self->promise_->resolve(Detail::ref(*self->session_), Detail::cref(request));
}
catch (std::exception const& exc)
{
Expand Down Expand Up @@ -635,7 +635,7 @@ namespace Roar
{
try
{
self->promise_->template resolve(
self->promise_->resolve(
Detail::ref(*self->session_), Detail::cref(self->req_), self);
}
catch (std::exception const& exc)
Expand Down

0 comments on commit a8eda5b

Please sign in to comment.