Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Issue 7217014: Add a warning to the top of base/memory/singleton.h (Closed)

Created:
9 years, 6 months ago by scherkus (not reviewing)
Modified:
9 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add a warning to the top of base/memory/singleton.h BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89870

Patch Set 1 #

Patch Set 2 : update #

Patch Set 3 : more pithy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M base/memory/singleton.h View 1 2 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
darin (slow to review)
I like it, thanks! LGTM You might also add a warning about keeping singletons trivial ...
9 years, 6 months ago (2011-06-21 18:47:09 UTC) #1
scherkus (not reviewing)
this time with more warnings!
9 years, 6 months ago (2011-06-21 18:54:42 UTC) #2
commit-bot: I haz the power
Presubmit check for 7217014-4001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 6 months ago (2011-06-21 18:55:51 UTC) #3
scherkus (not reviewing)
9 years, 6 months ago (2011-06-21 18:57:47 UTC) #4
On 2011/06/21 18:55:51, I haz the power (commit-bot) wrote:
> Presubmit check for 7217014-4001 failed and returned exit status 1.
> 
> Running presubmit commit checks ...
> 
> ** Presubmit ERRORS **
> Found Singleton<T> in the following header files.
> Please move them to an appropriate source file so that the template gets
> instantiated in a single compilation unit.
>   base/memory/singleton.h

hah! will commit by hand :)

Powered by Google App Engine
This is Rietveld 408576698