Skip to content

Commit

Permalink
gcc 7 warnings solved
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyD87 committed Jul 4, 2018
1 parent 1ab373a commit 746259e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions CcGui/Subsystem/Generic/src/CcWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ class CcWindowPrivate
CcWindowHandle CcWindow::Null(nullptr);

CcWindow::CcWindow(void) :
m_oNormalRect(0, 0, 260, 320),
m_hThis(this)
m_hThis(this),
m_oNormalRect(0, 0, 260, 320)
{
initWindowPrivate();
}

CcWindow::CcWindow(uint16 sizeX, uint16 sizeY) :
m_oNormalRect(0, 0, sizeX, sizeY),
m_hThis(this)
m_hThis(this),
m_oNormalRect(0, 0, sizeX, sizeY)
{
initWindowPrivate();
}
Expand Down
2 changes: 1 addition & 1 deletion CcKernel/Types/CcUser.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class CcKernelSHARED CcUser {
/**
* @brief Destructor
*/
~CcUser( void );
virtual ~CcUser( void );


/**
Expand Down
2 changes: 1 addition & 1 deletion CcKernel/src/CcStatic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void* CcStatic::memset(void* pBuffer, int iValue, size_t uiSize)
while(uiSize > 0)
{
*pcBuffer = static_cast<unsigned char>(iValue);
pcBuffer = pcBuffer++;
pcBuffer++;
uiSize--;
}
return pBuffer;
Expand Down

0 comments on commit 746259e

Please sign in to comment.