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

Unified Diff: runtime/vm/symbols.h

Issue 10829022: - Avoid C++ pitfalls with "static const int" in header files. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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: runtime/vm/symbols.h
===================================================================
--- runtime/vm/symbols.h (revision 9912)
+++ runtime/vm/symbols.h (working copy)
@@ -91,8 +91,10 @@
private:
- static const int kInitialVMIsolateSymtabSize = ((kMaxPredefined + 15) & -16);
- static const int kInitialSymtabSize = 256;
+ enum {
+ kInitialVMIsolateSymtabSize = ((kMaxPredefined + 15) & -16),
+ kInitialSymtabSize = 256
+ };
// Add the string into the VM isolate symbol table.
static void Add(const Array& symbol_table, const String& str);
« 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