Gcc4 build fixes.

This commit is contained in:
plfiorini 2010-05-10 21:54:28 +00:00
parent affca15f8b
commit dd8d0d1f5a
3 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@ const uint32 kOK = 'SAVE';
AccountDialog::AccountDialog(const char* title, CayaProtocol* cayap,
const char* account = NULL)
const char* account)
: BWindow(BRect(0, 0, 1, 1), title, B_MODAL_WINDOW, B_NOT_RESIZABLE |
B_AUTO_UPDATE_SIZE_LIMITS | B_CLOSE_ON_ESCAPE)
{

View File

@ -6,6 +6,8 @@
* Pier Luigi Fiorini, pierluigi.fiorini@gmail.com
*/
#include <string.h>
#include <Path.h>
#include <private/IconUtils.h>

View File

@ -43,7 +43,7 @@ void List<T>::AddItem(T type)
template<class T>
void List<T>::RemoveItemAt(uint32 position)
{
fIter i = fMap.begin();
fIter i = fList.begin();
std::advance(i, position);
fList.erase(i);
}