Skip to content

Commit

Permalink
Small refactoring for some examples.
Browse files Browse the repository at this point in the history
Method state_changed for state listener have no to be noexcept since
v.0.6.0.
  • Loading branch information
eao197 committed Aug 28, 2019
1 parent 5532a36 commit 4005036
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/sample/ip_blocker/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class blocker_t
// This method will be called by RESTinio when state of connection
// is changed.
void state_changed(
const restinio::connection_state::notice_t & notice ) noexcept
const restinio::connection_state::notice_t & notice )
{
using namespace restinio::connection_state;

Expand Down
2 changes: 1 addition & 1 deletion dev/sample/tls_inspector/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class my_tls_inspector_t
{}

void state_changed(
const restinio::connection_state::notice_t & notice) noexcept
const restinio::connection_state::notice_t & notice)
{
restinio::visit(
notice_visitor_t{ *m_user_connections, notice },
Expand Down

0 comments on commit 4005036

Please sign in to comment.