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

View File

@ -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();

View File

@ -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 <time.h>
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);