-rw-r--r-- | include/opkele/discovery.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/opkele/discovery.h b/include/opkele/discovery.h index 7865fb2..af4aa29 100644 --- a/include/opkele/discovery.h +++ b/include/opkele/discovery.h | |||
@@ -18,4 +18,5 @@ namespace opkele { | |||
18 | xrd::XRD_t xrd; | 18 | xrd::XRD_t xrd; |
19 | 19 | ||
20 | idiscovery_t() { } | ||
20 | idiscovery_t(const string& i) { | 21 | idiscovery_t(const string& i) { |
21 | idiscover(*this,i); | 22 | idiscover(*this,i); |
@@ -29,4 +30,9 @@ namespace opkele { | |||
29 | xrd.clear(); | 30 | xrd.clear(); |
30 | } | 31 | } |
32 | |||
33 | idiscovery_t& operator=(const string& i) { | ||
34 | idiscover(*this,i); return *this; } | ||
35 | idiscovery_t& operator=(const char *i) { | ||
36 | idiscover(*this,i); return *this; } | ||
31 | }; | 37 | }; |
32 | } | 38 | } |