forked from Mirrors/openclonk
GTK: Fix compilation without rvalue refs
parent
c25bc6b6d9
commit
bce1e9ccf8
|
@ -93,7 +93,9 @@ namespace {
|
|||
class ImplicitStrBuf: public StdStrBuf {
|
||||
public:
|
||||
ImplicitStrBuf(StdStrBuf RREF Buf2): StdStrBuf(static_cast<StdStrBuf RREF>(Buf2)) { }
|
||||
#ifdef HAVE_RVALUE_REF
|
||||
ImplicitStrBuf(const StdStrBuf & Buf2): StdStrBuf(Buf2) { }
|
||||
#endif
|
||||
ImplicitStrBuf(ImplicitStrBuf RREF Buf2): StdStrBuf(static_cast<ImplicitStrBuf RREF>(Buf2)) { }
|
||||
ImplicitStrBuf(const ImplicitStrBuf & Buf2): StdStrBuf(Buf2) { }
|
||||
operator const char *() const { return getData(); }
|
||||
|
|
Loading…
Reference in New Issue