summaryrefslogtreecommitdiff
path: root/src/network/core/address.h
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-06-13 21:29:40 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-06-15 06:13:00 +0200
commita91e29b656d91b1f1c6a906ee8e81ddd716723aa (patch)
tree88b58e7616a1e79c63993f1e9b2a3454946dd9da /src/network/core/address.h
parent36705f1dc0d7c5436780d8915c147d9f55eaa191 (diff)
downloadopenttd-a91e29b656d91b1f1c6a906ee8e81ddd716723aa.tar.xz
Codechange: [Network] Let IsInNetmask use std::string
Diffstat (limited to 'src/network/core/address.h')
-rw-r--r--src/network/core/address.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/address.h b/src/network/core/address.h
index eac21c76a..46d0acef1 100644
--- a/src/network/core/address.h
+++ b/src/network/core/address.h
@@ -116,7 +116,7 @@ public:
}
bool IsFamily(int family);
- bool IsInNetmask(const char *netmask);
+ bool IsInNetmask(const std::string &netmask);
/**
* Compare the address of this class with the address of another.