Skip to content

Commit

Permalink
Add missing declarations for IsConnected()
Browse files Browse the repository at this point in the history
  • Loading branch information
mogemimi committed May 27, 2019
1 parent 2381734 commit 7f7d86e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/Pomdog/Signals/Connection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ class POMDOG_EXPORT Connection final {
Connection& operator=(const Connection& connection);
Connection& operator=(Connection&& connection) = default;

operator bool() const noexcept;

void Disconnect();

bool IsConnected() const noexcept;
};

} // namespace Pomdog
2 changes: 2 additions & 0 deletions include/Pomdog/Signals/ScopedConnection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ class POMDOG_EXPORT ScopedConnection final {
ScopedConnection& operator=(Connection&& c);

void Disconnect();

bool IsConnected() const;
};

} // namespace Pomdog

0 comments on commit 7f7d86e

Please sign in to comment.