Skip to content

Commit a8eda5b

Browse files
authored
Merge pull request #26 from 5cript/fix/remove-template
Fix/remove template
2 parents 2781a88 + f233448 commit a8eda5b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.clang-format

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
#AlignAfterOpenBracket: BlockIndent
22
AlignAfterOpenBracket: AlwaysBreak
33
AlignEscapedNewlines: DontAlign
4-
AlignOperands: true
54
AlignTrailingComments: false
65
AllowAllArgumentsOnNextLine: true
76
AllowAllConstructorInitializersOnNextLine: false
8-
AllowAllParametersOfDeclarationOnNextLine: true
97
AllowShortBlocksOnASingleLine: Empty
108
AllowShortCaseLabelsOnASingleLine: false
119
AllowShortFunctionsOnASingleLine: None
@@ -36,7 +34,6 @@ BraceWrapping:
3634
SplitEmptyFunction: false
3735
SplitEmptyNamespace: true
3836
SplitEmptyRecord: false
39-
AlignEscapedNewlines: DontAlign
4037
BreakConstructorInitializers: BeforeComma
4138
BreakInheritanceList: BeforeComma
4239
BreakStringLiterals: true

include/roar/session/session.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ namespace Roar
599599
auto request = Request<BodyT>(self->req_.release(), std::move(self->originalExtensions_));
600600
try
601601
{
602-
self->promise_->template resolve(Detail::ref(*self->session_), Detail::cref(request));
602+
self->promise_->resolve(Detail::ref(*self->session_), Detail::cref(request));
603603
}
604604
catch (std::exception const& exc)
605605
{
@@ -635,7 +635,7 @@ namespace Roar
635635
{
636636
try
637637
{
638-
self->promise_->template resolve(
638+
self->promise_->resolve(
639639
Detail::ref(*self->session_), Detail::cref(self->req_), self);
640640
}
641641
catch (std::exception const& exc)

0 commit comments

Comments
 (0)