Fix gcc4 build. my->beers--;

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26748 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2008-08-02 23:57:03 +00:00
parent 70ce6a9ade
commit e1ebbfbbd8
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -23,6 +23,7 @@
#define MODEL_H
#include <Entry.h>
#include <File.h>
#include <FindDirectory.h>
#include <List.h>
#include <Looper.h>