JieweiWei / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

assignment operator returns void in class generated by TEST_F macro #456

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Although it is only a declaration for the purpose of forbidding assignment 
operation, Klocwork - a code analysis tool detects it and reports it as an 
issue.
Since this declaration does not comply with the C++ standard, could you guys 
fix it in next release?
google test version:1.7.0
system information: ubuntu 
system kernel: 2.6.32-358.23.2.el6.x86_64

Original issue reported on code.google.com by threepea...@gmail.com on 23 Apr 2014 at 9:07

GoogleCodeExporter commented 9 years ago
Klocwork is overreacting. This isn't in the C++ standard unless I'm missing 
something.

Original comment by billydon...@google.com on 23 Apr 2014 at 1:59