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:
@@ -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();
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user