From e84387f7415d51b8e88a894597d6806c0e054ffc Mon Sep 17 00:00:00 2001 From: "jar@chromium.org" Date: Mon, 2 Mar 2009 19:21:07 +0000 Subject: Fix linux tree (move static const definition out of class and into cc file) TBR=mbelshe Review URL: http://codereview.chromium.org/27341 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10716 0039d316-1c4b-4281-b951-d872f2087c98 --- base/field_trial.cc | 3 +++ base/field_trial.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/base/field_trial.cc b/base/field_trial.cc index 94121d7..d48d2f4 100644 --- a/base/field_trial.cc +++ b/base/field_trial.cc @@ -10,6 +10,9 @@ using base::Time; +// static +const int FieldTrial::kNotParticipating = -1; + //------------------------------------------------------------------------------ // FieldTrial methods and members. diff --git a/base/field_trial.h b/base/field_trial.h index 312dbb0..0d6806f 100644 --- a/base/field_trial.h +++ b/base/field_trial.h @@ -78,7 +78,7 @@ class FieldTrial : public base::RefCounted { public: - static const int kNotParticipating = -1; + static const int kNotParticipating; typedef int Probability; // Use scaled up probability. -- cgit v1.1