Fix compilation on QNX
authorSergio Ahumada <sahumada@blackberry.com>
Wed, 2 Apr 2014 09:37:55 +0000 (11:37 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 4 Apr 2014 01:36:17 +0000 (03:36 +0200)
commit02529e4d9ae2b17c0f15f7f05681f6385bfaa05a
tree69327d1c5f1159bd39e505a1588aa25a0823936b
parent29d9f1d867f84dede86cb41c27e38541a24186ff
Fix compilation on QNX

Add Q_DECL_NOEXCEPT to 'bool seed()' and 'quint32 nextMask()'

  qdefaultmaskgenerator_p.cpp:93:34: error: declaration of 'virtual bool QDefaultMaskGenerator::seed()' has a different exception specifier
  qdefaultmaskgenerator_p.h:69:10: error: from previous declaration 'virtual bool QDefaultMaskGenerator::seed() noexcept (true)'
  qdefaultmaskgenerator_p.cpp:104:41: error: declaration of 'virtual quint32 QDefaultMaskGenerator::nextMask()' has a different exception specifier
  qdefaultmaskgenerator_p.h:70:13: error: from previous declaration 'virtual quint32 QDefaultMaskGenerator::nextMask() noexcept (true)'

Change-Id: Iae49a060fa62a33f629cadc1a0100653a12432f7
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/websockets/qdefaultmaskgenerator_p.cpp