diff options
-rw-r--r-- | base/version.cc | 5 | ||||
-rw-r--r-- | base/version.h | 2 |
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. |