summaryrefslogtreecommitdiffstats
path: root/src/InetAddress.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-10-29 16:06:11 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-10-29 16:06:11 +0100
commit09bd8f26cb37b58310ce16bf7b8b6003b4244ed5 (patch)
tree3f6b0c1e62f13e610611240ddfbe366fce98d3a3 /src/InetAddress.cpp
parentbf82967d4c04946ae6e0490ea28e160a856fc81b (diff)
downloaddabmux-09bd8f26cb37b58310ce16bf7b8b6003b4244ed5.tar.gz
dabmux-09bd8f26cb37b58310ce16bf7b8b6003b4244ed5.tar.bz2
dabmux-09bd8f26cb37b58310ce16bf7b8b6003b4244ed5.zip
Some fixes for issues seen with cppcheck
Diffstat (limited to 'src/InetAddress.cpp')
-rw-r--r--src/InetAddress.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/InetAddress.cpp b/src/InetAddress.cpp
index d92e1b9..7660263 100644
--- a/src/InetAddress.cpp
+++ b/src/InetAddress.cpp
@@ -63,22 +63,6 @@ InetAddress::InetAddress(int port, const char* name) {
}
-/**
- * Constructs a copy of inet
- * @param inet The address to be copied
- */
-InetAddress::InetAddress(const InetAddress &inet) {
- TRACE_CLASS("InetAddress", "InetAddress(InetAddress)");
- memcpy(&addr, &inet.addr, sizeof(addr));
-}
-
-
-/// Destructor
-InetAddress::~InetAddress() {
- TRACE_CLASS("InetAddress" ,"~InetAddress()");
-}
-
-
/// Returns the raw IP address of this InetAddress object.
sockaddr *InetAddress::getAddress() {
TRACE_CLASS("InetAddress", "getAddress()");