]> jfr.im git - irc/znc/Csocket.git/commitdiff
Do not hardcode CString, use CS_STRING instead
authorJ-P Nurmi <redacted>
Mon, 16 Mar 2015 19:11:37 +0000 (20:11 +0100)
committerJ-P Nurmi <redacted>
Mon, 16 Mar 2015 19:11:37 +0000 (20:11 +0100)
Csocket.h

index 81ea73bc274c5786a4a0d7e5e7d8f570896f35d8..7245ed5bba3ea1cf06fbcc7e0d16f7b24eda22b7 100644 (file)
--- a/Csocket.h
+++ b/Csocket.h
@@ -1135,7 +1135,7 @@ public:
        int GetMaxConns() const { return( m_iMaxConns ); }
 
 #ifdef HAVE_ICU
-       void SetEncoding( const CString& sEncoding );
+       void SetEncoding( const CS_STRING & sEncoding );
        virtual void IcuExtToUCallback(
                UConverterToUnicodeArgs* toArgs,
                const char* codeUnits,