diff --git a/unikey/byteio.h b/unikey/byteio.h index 7624a0b..9b3582d 100644 --- a/unikey/byteio.h +++ b/unikey/byteio.h @@ -16,7 +16,7 @@ typedef unsigned int UKDWORD; //---------------------------------------------------- class ByteStream { public: - virtual ~ByteStream(){}; + virtual ~ByteStream() {} }; //---------------------------------------------------- diff --git a/unikey/charset.h b/unikey/charset.h index 20a5534..f40d32b 100644 --- a/unikey/charset.h +++ b/unikey/charset.h @@ -70,8 +70,8 @@ const unsigned char PadEllipsis = '.'; class DllInterface VnCharset { public: - virtual void startInput(){}; - virtual void startOutput(){}; + virtual void startInput() {} + virtual void startOutput() {} // virtual UKBYTE *nextInput(UKBYTE *input, int inLen, StdVnChar & stdChar, // int & bytesRead) = 0; virtual int nextInput(ByteInStream &is, StdVnChar &stdChar, @@ -106,7 +106,7 @@ class SingleByteCharset : public VnCharset { //-------------------------------------------------- class VnInternalCharset : public VnCharset { public: - VnInternalCharset(){}; + VnInternalCharset() {} virtual int nextInput(ByteInStream &is, StdVnChar &stdChar, int &bytesRead); virtual int putChar(ByteOutStream &os, StdVnChar stdChar, int &outLen); virtual int elementSize();