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
This commit is contained in:
Ryan Leavengood
2009-08-13 07:30:48 +00:00
parent 8c1ad886ee
commit 04e24ee5ba
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
/* /*
* Copyright 2007 Haiku, Inc. * Copyright 2007-2009 Haiku, Inc.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
* *
* Authors: * Authors:
@@ -14,8 +14,8 @@
class BAboutWindow { class BAboutWindow {
public: public:
BAboutWindow(char *appName, int32 firstCopyrightYear, BAboutWindow(const char *appName, int32 firstCopyrightYear,
const char **authors, char *extraInfo = NULL); const char **authors, const char *extraInfo = NULL);
virtual ~BAboutWindow(); virtual ~BAboutWindow();
void Show(); void Show();
+3 -3
View File
@@ -1,5 +1,5 @@
/* /*
* Copyright 2007 Haiku, Inc. * Copyright 2007-2009 Haiku, Inc.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
* *
* Authors: * Authors:
@@ -16,8 +16,8 @@
#include <time.h> #include <time.h>
BAboutWindow::BAboutWindow(char *appName, int32 firstCopyrightYear, BAboutWindow::BAboutWindow(const char *appName, int32 firstCopyrightYear,
const char **authors, char *extraInfo) const char **authors, const char *extraInfo)
{ {
fAppName = new BString(appName); fAppName = new BString(appName);