Skip to content

Commit 310278b

Browse files
ibjeongecorm
authored andcommitted
adds CPPWAMP_INLINE to Cancellation's member function definition (#116)
1 parent 132b51a commit 310278b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cppwamp/include/cppwamp/internal/sessiondata.ipp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ CPPWAMP_INLINE Error* Rpc::error(internal::PassKey) {return error_;}
477477
// Cancellation
478478
//******************************************************************************
479479

480-
Cancellation::Cancellation(RequestId reqId, CancelMode cancelMode)
480+
CPPWAMP_INLINE Cancellation::Cancellation(RequestId reqId, CancelMode cancelMode)
481481
: requestId_(reqId)
482482
{
483483
String modeStr;
@@ -504,7 +504,7 @@ Cancellation::Cancellation(RequestId reqId, CancelMode cancelMode)
504504
withOption("mode", std::move(modeStr));
505505
}
506506

507-
RequestId Cancellation::requestId() const {return requestId_;}
507+
CPPWAMP_INLINE RequestId Cancellation::requestId() const {return requestId_;}
508508

509509

510510
//******************************************************************************

0 commit comments

Comments
 (0)