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

Issue 115150043: Add assert(this != &rule) in Rule::CopyFrom(). (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by roubert (google)
Modified:
9 years, 9 months ago
Reviewers:
Rouslan Solomakhin
Base URL:
https://libaddressinput.googlecode.com/svn/trunk
Visibility:
Public.

Description

Add assert(this != &rule) in Rule::CopyFrom(). It does not make any sense to copy a Rule object onto itself. R=rouslan@chromium.org BUG= Committed: https://code.google.com/p/libaddressinput/source/detail?r=313

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M cpp/src/rule.cc View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3
roubert (google)
9 years, 9 months ago (2014-07-20 20:52:02 UTC) #1
Rouslan Solomakhin
LGTM
9 years, 9 months ago (2014-07-21 16:58:06 UTC) #2
roubert (google)
9 years, 9 months ago (2014-07-21 19:37:58 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r313 (presubmit successful).
Sign in to reply to this message.

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