From e1ebbfbbd88c92bb73b79898b8df40be72a48b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 2 Aug 2008 23:57:03 +0000 Subject: [PATCH] Fix gcc4 build. my->beers--; git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26748 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/text_search/Model.cpp | 4 ++-- src/apps/text_search/Model.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/apps/text_search/Model.cpp b/src/apps/text_search/Model.cpp index 13ed421f6d..b2eefaa86e 100644 --- a/src/apps/text_search/Model.cpp +++ b/src/apps/text_search/Model.cpp @@ -328,8 +328,8 @@ Model::_FreeHistory(BList* items) status_t -Model::_OpenFile(BFile* file, const char* name, uint32 openMode = B_READ_ONLY, - directory_which which = B_USER_SETTINGS_DIRECTORY, BVolume* volume = NULL) +Model::_OpenFile(BFile* file, const char* name, uint32 openMode, + directory_which which, BVolume* volume) { if (file == NULL) return B_BAD_VALUE; diff --git a/src/apps/text_search/Model.h b/src/apps/text_search/Model.h index 0fe76222be..2c81457b0d 100644 --- a/src/apps/text_search/Model.h +++ b/src/apps/text_search/Model.h @@ -23,6 +23,7 @@ #define MODEL_H #include +#include #include #include #include