summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorcpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-07 17:43:20 +0000
committercpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-07 17:43:20 +0000
commit1513bf86ebe4bef6a0b0b586d544a3da38b59f28 (patch)
tree225651cb4eed57497b4f1b1b1c190e6346683074 /base
parentdece9a6f4e51b94108e263696ae443af07b976ce (diff)
downloadchromium_src-1513bf86ebe4bef6a0b0b586d544a3da38b59f28.zip
chromium_src-1513bf86ebe4bef6a0b0b586d544a3da38b59f28.tar.gz
chromium_src-1513bf86ebe4bef6a0b0b586d544a3da38b59f28.tar.bz2
Clang needs dtor in the cc file (build fix)
BUG=none TEST=one TBR=shess Review URL: http://codereview.chromium.org/7131008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/version.cc5
-rw-r--r--base/version.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/base/version.cc b/base/version.cc
index 74c570c..cdd15a0 100644
--- a/base/version.cc
+++ b/base/version.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -14,6 +14,9 @@
Version::Version() {
}
+Version::~Version() {
+}
+
Version::Version(const std::string& version_str) {
std::vector<std::string> numbers;
base::SplitString(version_str, '.', &numbers);
diff --git a/base/version.h b/base/version.h
index 7dcefb3..e03b01a 100644
--- a/base/version.h
+++ b/base/version.h
@@ -21,6 +21,8 @@ class BASE_API Version {
// Version object is assign to it.
Version();
+ ~Version();
+
// Initializes from a decimal dotted version number, like "0.1.1".
// Each component is limited to a uint16. Call IsValid() to learn
// the outcome.