Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4545)

Issue 258870043: Remove redundant occurences of this-> (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 9 months ago by dak
Modified:
8 years, 7 months ago
Reviewers:
Keith, Dan Eble
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Remove redundant occurences of this->

Patch Set 1 #

Total comments: 5

Patch Set 2 : Change obtuse comment back to Keith's preferred state #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -23 lines) Patch
M lily/audio-element.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/context.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M lily/grob.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M lily/include/music-iterator.hh View 1 chunk +2 lines, -2 lines 0 comments Download
M lily/lexer.ll View 3 chunks +3 lines, -3 lines 0 comments Download
M lily/midi-item.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/prob.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/spanner.cc View 1 chunk +1 line, -1 line 0 comments Download
M lily/system.cc View 4 chunks +6 lines, -6 lines 0 comments Download
M lily/tie-configuration.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11
Keith
Why bother ? It is probably not a good idea to remove the this-> where ...
8 years, 9 months ago (2015-07-21 04:07:14 UTC) #1
dak
On 2015/07/21 04:07:14, Keith wrote: > Why bother ? Because it's distracting and makes some ...
8 years, 9 months ago (2015-07-21 05:02:23 UTC) #2
Dan Eble
this->f() is sometimes necessary in templates (I recall), but in those cases the compiler warns ...
8 years, 9 months ago (2015-07-21 18:20:13 UTC) #3
dak
On 2015/07/21 18:20:13, Dan Eble wrote: > this->f() is sometimes necessary in templates (I recall), ...
8 years, 9 months ago (2015-07-21 19:37:21 UTC) #4
Dan Eble
On 2015/07/21 19:37:21, dak wrote: > So if this patch needs a 1-line change to ...
8 years, 9 months ago (2015-07-22 02:07:53 UTC) #5
Keith
https://codereview.appspot.com/258870043/diff/1/lily/grob.cc File lily/grob.cc (right): https://codereview.appspot.com/258870043/diff/1/lily/grob.cc#newcode232 lily/grob.cc:232: /* This version of get_system is more reliable than ...
8 years, 9 months ago (2015-07-23 05:50:38 UTC) #6
dak
https://codereview.appspot.com/258870043/diff/1/lily/grob.cc File lily/grob.cc (right): https://codereview.appspot.com/258870043/diff/1/lily/grob.cc#newcode232 lily/grob.cc:232: /* This version of get_system is more reliable than ...
8 years, 9 months ago (2015-07-23 06:33:07 UTC) #7
dak
https://codereview.appspot.com/258870043/diff/1/lily/grob.cc File lily/grob.cc (right): https://codereview.appspot.com/258870043/diff/1/lily/grob.cc#newcode232 lily/grob.cc:232: /* This version of get_system is more reliable than ...
8 years, 9 months ago (2015-07-23 06:38:00 UTC) #8
dak
https://codereview.appspot.com/258870043/diff/1/lily/grob.cc File lily/grob.cc (right): https://codereview.appspot.com/258870043/diff/1/lily/grob.cc#newcode232 lily/grob.cc:232: /* This version of get_system is more reliable than ...
8 years, 9 months ago (2015-07-23 06:44:41 UTC) #9
dak
Change obtuse comment back to Keith's preferred state
8 years, 9 months ago (2015-07-23 13:47:42 UTC) #10
dak
8 years, 9 months ago (2015-07-23 13:48:21 UTC) #11
https://codereview.appspot.com/258870043/diff/1/lily/grob.cc
File lily/grob.cc (right):

https://codereview.appspot.com/258870043/diff/1/lily/grob.cc#newcode232
lily/grob.cc:232: /* This version of get_system is more reliable than get_system
()
On 2015/07/23 05:50:38, Keith wrote:
> What do you mean by "get_system is more reliable than get_system ()" ?

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b