Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
Signed-off-by: Volker Christian <[email protected]>
  • Loading branch information
VolkerChristian committed Jul 16, 2024
1 parent 7bd3c1a commit 198739d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
4 changes: 4 additions & 0 deletions src/core/socket/SocketAddress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ namespace core::socket {
SocketAddress::~SocketAddress() {
}

bool SocketAddress::useNext() {
return false;
}

SocketAddress::BadSocketAddress::BadSocketAddress(const State& state, const std::string& errorMessage, int errnum)
: runtime_error(errorMessage)
, state(state)
Expand Down
4 changes: 1 addition & 3 deletions src/core/socket/SocketAddress.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ namespace core::socket {

virtual ~SocketAddress();

virtual bool useNext() {
return false;
}
virtual bool useNext();

virtual std::string toString(bool expanded = true) const = 0;
};
Expand Down
4 changes: 0 additions & 4 deletions src/net/config/ConfigAddressBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ namespace net::config {

#ifndef DOXYGEN_SHOULD_SKIP_THIS

namespace CLI {
class Option;
} // namespace CLI

#endif // DOXYGEN_SHOULD_SKIP_THIS

namespace net::config {
Expand Down
4 changes: 0 additions & 4 deletions src/net/config/ConfigAddressLocal.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@

#ifndef DOXYGEN_SHOULD_SKIP_THIS

namespace CLI {
class App;
} // namespace CLI

#endif // DOXYGEN_SHOULD_SKIP_THIS

namespace net::config {
Expand Down
4 changes: 0 additions & 4 deletions src/net/config/ConfigAddressRemote.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@

#ifndef DOXYGEN_SHOULD_SKIP_THIS

namespace CLI {
class App;
} // namespace CLI

#endif // DOXYGEN_SHOULD_SKIP_THIS

namespace net::config {
Expand Down

0 comments on commit 198739d

Please sign in to comment.