diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-01-23 20:15:28 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-02-04 14:03:13 +0100 |
commit | fd243a8d3ae8e776fb2af1136feee7f8c083d2da (patch) | |
tree | 71cd7b2fcac7d398154afe58a579d87d7fadf9bd /win/vncconfig/Legacy.cxx | |
parent | 3143bfa1545c2aa70781c5c780df7e66f123614f (diff) | |
download | tigervnc-fd243a8d3ae8e776fb2af1136feee7f8c083d2da.tar.gz tigervnc-fd243a8d3ae8e776fb2af1136feee7f8c083d2da.zip |
Remove "str" prefix from string helpers
This matches the naming in STL, which is what we are mostly mimicing now
that we are using std::string for these functions.
Diffstat (limited to 'win/vncconfig/Legacy.cxx')
-rw-r--r-- | win/vncconfig/Legacy.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/vncconfig/Legacy.cxx b/win/vncconfig/Legacy.cxx index b21bccd7..7703c3a3 100644 --- a/win/vncconfig/Legacy.cxx +++ b/win/vncconfig/Legacy.cxx @@ -69,7 +69,7 @@ void LegacyPage::LoadPrefs() try { // Split the AuthHosts string into patterns to match std::vector<std::string> patterns; - patterns = rfb::strSplit(authHosts.c_str(), ':'); + patterns = rfb::split(authHosts.c_str(), ':'); for (size_t i = 0; i < patterns.size(); i++) { if (!patterns[i].empty()) { int bits = 0; @@ -79,7 +79,7 @@ void LegacyPage::LoadPrefs() // Split the pattern into IP address parts and process std::vector<std::string> parts; - parts = rfb::strSplit(&patterns[i][1], '.'); + parts = rfb::split(&patterns[i][1], '.'); for (size_t j = 0; j < parts.size(); j++) { if (bits) strcat(pattern, "."); |