From 96613eb98e8c56e3046d391e40d4fdadf696614e Mon Sep 17 00:00:00 2001 From: "kuchhal@chromium.org" Date: Tue, 30 Jun 2009 22:14:37 +0000 Subject: Fixit: Remove bunch of coverity warnings from chrome/installer/*. BUg=12849 Review URL: http://codereview.chromium.org/151101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19668 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/installer/util/version.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chrome/installer/util/version.h') diff --git a/chrome/installer/util/version.h b/chrome/installer/util/version.h index 5d7e3c0..8bbabce 100644 --- a/chrome/installer/util/version.h +++ b/chrome/installer/util/version.h @@ -1,9 +1,9 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 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. -#ifndef CHROME_INSTALLER_UTIL_VERSION_H__ -#define CHROME_INSTALLER_UTIL_VERSION_H__ +#ifndef CHROME_INSTALLER_UTIL_VERSION_H_ +#define CHROME_INSTALLER_UTIL_VERSION_H_ #include @@ -27,7 +27,7 @@ public: // Assume that the version string is specified by four integers separated // by character '.'. Return NULL if string is not of this format. // Caller is responsible for freeing the Version object once done. - static Version* GetVersionFromString(std::wstring version_str); + static Version* GetVersionFromString(const std::wstring& version_str); private: int64 major_; -- cgit v1.1