diff options
Diffstat (limited to 'configd/src/apps/sentinel/outward-check.h')
-rw-r--r-- | configd/src/apps/sentinel/outward-check.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configd/src/apps/sentinel/outward-check.h b/configd/src/apps/sentinel/outward-check.h index 01a298aee18..11faee1d707 100644 --- a/configd/src/apps/sentinel/outward-check.h +++ b/configd/src/apps/sentinel/outward-check.h @@ -12,11 +12,11 @@ namespace config::sentinel { struct OutwardCheckContext { vespalib::CountDownLatch latch; - const char * myHostname; + std::string myHostname; int myPortnum; FRT_Supervisor &orb; OutwardCheckContext(size_t count, - const char * hostname, + const std::string &hostname, int portnumber, FRT_Supervisor &supervisor) : latch(count), @@ -24,6 +24,7 @@ struct OutwardCheckContext { myPortnum(portnumber), orb(supervisor) {} + ~OutwardCheckContext(); }; enum class CcResult { UNKNOWN, CONN_FAIL, REVERSE_FAIL, REVERSE_UNAVAIL, ALL_OK }; |