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

Unified Diff: src/cpu-profiler.h

Issue 1154001: Really fix ARM build (this time verified locally.) (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cpu-profiler.h
diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h
index 7a3711ddf54637b581a6641429cc6a1f7f3565ed..f9bad4596ec557a766718ff7102a8ec4d95f15d8 100644
--- a/src/cpu-profiler.h
+++ b/src/cpu-profiler.h
@@ -111,8 +111,11 @@ class TickSampleEventRecord {
unsigned order;
#if defined(__GNUC__) && (__GNUC__ < 4)
- // Added to avoid 'all member functions in class are private' error.
+ // Added to avoid 'all member functions in class are private' warning.
INLINE(unsigned get_order() const) { return order; }
+ // Added to avoid 'class only defines private constructors and
+ // has no friends' warning.
+ friend class TickSampleEventRecordFriend;
#endif
private:
// Disable instantiation.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698