ext/binder.h in eventmachine-0.5.2 vs ext/binder.h in eventmachine-0.5.3
- old
+ new
@@ -1,8 +1,8 @@
/*****************************************************************************
-$Id: binder.h 2412 2006-04-29 01:18:59Z francis $
+$Id: binder.h 61 2006-05-17 04:58:31Z blackhedd $
File: binder.h
Date: 07Apr06
Copyright (C) 2006 by Francis Cianfrocca. All Rights Reserved.
@@ -38,10 +38,11 @@
public:
Bindable_t();
virtual ~Bindable_t();
- string GetBinding() {return Binding;}
+ const string &GetBinding() {return Binding;}
+ const char *GetBindingChars() {return Binding.c_str();}
private:
string Binding;
};