Insomniumm / bwsal

Automatically exported from code.google.com/p/bwsal
0 stars 0 forks source link

Coding style: use of "this->" #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?

buildManager->onRemoveUnit(unit)

this->buildManager->onRemoveUnit(unit)

Please provide any additional information below.

Isn't PHP. This can't be good practise.

Original issue reported on code.google.com by wopeg...@tfea.co.cc on 23 Nov 2009 at 7:12

GoogleCodeExporter commented 8 years ago
I don't see anything wrong with using "this->" in member functions to refer to 
member
variables.

Original comment by lowerlo...@gmail.com on 30 Nov 2009 at 6:31