fix warning in template Scalar::mul gcc < 4.8
authorAlexander Duda <Alexander.Duda@dfki.de>
Sat, 18 Oct 2014 12:22:27 +0000 (14:22 +0200)
committerAlexander Duda <Alexander.Duda@dfki.de>
Sat, 18 Oct 2014 12:22:27 +0000 (14:22 +0200)
commit11ebaf673f39899cb36755e368503795a5384e1a
tree154e97e5692e70e3588096bd2d19b4d584c3e363
parent22ff1e882604fab803baeee7b0535a9d0613b35a
fix warning in template Scalar::mul gcc < 4.8

In this particular case t shadows transpose of the base class Matx:
types.hpp:1805:14: warning: declaration of â€˜t’ shadows a member of
'this' [-Wshadow]

Changelog gcc 4.8: The option -Wshadow no longer warns if a declaration
shadows a function declaration.

This warning is problematic because it prevents the module
opencv_contrib/modules/ruby to pass the build process
modules/core/doc/basic_structures.rst
modules/core/include/opencv2/core/types.hpp