aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/rfb/Hostname.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rfb/Hostname.h b/common/rfb/Hostname.h
index a09cca3f..f6a11a60 100644
--- a/common/rfb/Hostname.h
+++ b/common/rfb/Hostname.h
@@ -39,8 +39,8 @@ namespace rfb {
return true;
}
- static void getHostAndPort(const char* hi, std::string* host,
- int* port, int basePort=5900)
+ static inline void getHostAndPort(const char* hi, std::string* host,
+ int* port, int basePort=5900)
{
const char* hostStart;
const char* hostEnd;