From 04e24ee5ba34be2d7730840ac8085077b4375bd1 Mon Sep 17 00:00:00 2001 From: Ryan Leavengood Date: Thu, 13 Aug 2009 07:30:48 +0000 Subject: [PATCH] Made some char* params const to fix a GCC4 warning in ShowImage (the only current client of this AFAIK.) They should have been const to begin with... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32297 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/shared/AboutWindow.h | 6 +++--- src/kits/shared/AboutWindow.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/headers/private/shared/AboutWindow.h b/headers/private/shared/AboutWindow.h index 57cf972db8..da7d5c8e37 100644 --- a/headers/private/shared/AboutWindow.h +++ b/headers/private/shared/AboutWindow.h @@ -1,5 +1,5 @@ /* - * Copyright 2007 Haiku, Inc. + * Copyright 2007-2009 Haiku, Inc. * Distributed under the terms of the MIT License. * * Authors: @@ -14,8 +14,8 @@ class BAboutWindow { public: - BAboutWindow(char *appName, int32 firstCopyrightYear, - const char **authors, char *extraInfo = NULL); + BAboutWindow(const char *appName, int32 firstCopyrightYear, + const char **authors, const char *extraInfo = NULL); virtual ~BAboutWindow(); void Show(); diff --git a/src/kits/shared/AboutWindow.cpp b/src/kits/shared/AboutWindow.cpp index df5c78225d..777d107ff9 100644 --- a/src/kits/shared/AboutWindow.cpp +++ b/src/kits/shared/AboutWindow.cpp @@ -1,5 +1,5 @@ /* - * Copyright 2007 Haiku, Inc. + * Copyright 2007-2009 Haiku, Inc. * Distributed under the terms of the MIT License. * * Authors: @@ -16,8 +16,8 @@ #include -BAboutWindow::BAboutWindow(char *appName, int32 firstCopyrightYear, - const char **authors, char *extraInfo) +BAboutWindow::BAboutWindow(const char *appName, int32 firstCopyrightYear, + const char **authors, const char *extraInfo) { fAppName = new BString(appName);