summaryrefslogtreecommitdiffabout
path: root/include/opkele
Side-by-side diff
Diffstat (limited to 'include/opkele') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/discovery.h6
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
@@ -19,2 +19,3 @@ namespace opkele {
+ idiscovery_t() { }
idiscovery_t(const string& i) {
@@ -30,2 +31,7 @@ namespace opkele {
}
+
+ idiscovery_t& operator=(const string& i) {
+ idiscover(*this,i); return *this; }
+ idiscovery_t& operator=(const char *i) {
+ idiscover(*this,i); return *this; }
};