Applied patch by Fredrik Ekdahl to fix the compilation with GCC 4 - thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22062 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1f9b6e48c3
commit
7bd1d755c4
@ -11,6 +11,6 @@ Application Sudoku :
|
|||||||
SudokuView.cpp
|
SudokuView.cpp
|
||||||
SudokuWindow.cpp
|
SudokuWindow.cpp
|
||||||
|
|
||||||
: be tracker
|
: be tracker $(TARGET_LIBSTDC++)
|
||||||
: Sudoku.rdef
|
: Sudoku.rdef
|
||||||
;
|
;
|
||||||
|
@ -71,7 +71,7 @@ Sudoku::AboutRequested()
|
|||||||
{
|
{
|
||||||
BAlert *alert = new BAlert("about", "Sudoku\n"
|
BAlert *alert = new BAlert("about", "Sudoku\n"
|
||||||
"\twritten by Axel Dörfler\n"
|
"\twritten by Axel Dörfler\n"
|
||||||
"\tCopyright 2007, pinc Software.\n", "Ok");
|
"\tCopyright 2007, Haiku Inc.\n", "Ok");
|
||||||
BTextView *view = alert->TextView();
|
BTextView *view = alert->TextView();
|
||||||
BFont font;
|
BFont font;
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <Message.h>
|
#include <Message.h>
|
||||||
#include <OS.h>
|
#include <OS.h>
|
||||||
|
@ -31,7 +31,7 @@ private:
|
|||||||
uint32 fY;
|
uint32 fY;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef vector<SolutionStep*> StepList;
|
typedef std::vector<SolutionStep*> StepList;
|
||||||
|
|
||||||
|
|
||||||
uint32
|
uint32
|
||||||
|
@ -26,7 +26,7 @@ public:
|
|||||||
SudokuField* SolutionAt(uint32 index);
|
SudokuField* SolutionAt(uint32 index);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
typedef vector<SudokuField*> SudokuList;
|
typedef std::vector<SudokuField*> SudokuList;
|
||||||
|
|
||||||
SudokuField* fField;
|
SudokuField* fField;
|
||||||
SudokuList fSolutions;
|
SudokuList fSolutions;
|
||||||
|
Loading…
Reference in New Issue
Block a user