Gcc4 build fixes.
This commit is contained in:
parent
affca15f8b
commit
dd8d0d1f5a
|
@ -24,7 +24,7 @@ const uint32 kOK = 'SAVE';
|
||||||
|
|
||||||
|
|
||||||
AccountDialog::AccountDialog(const char* title, CayaProtocol* cayap,
|
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 |
|
: BWindow(BRect(0, 0, 1, 1), title, B_MODAL_WINDOW, B_NOT_RESIZABLE |
|
||||||
B_AUTO_UPDATE_SIZE_LIMITS | B_CLOSE_ON_ESCAPE)
|
B_AUTO_UPDATE_SIZE_LIMITS | B_CLOSE_ON_ESCAPE)
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
* Pier Luigi Fiorini, pierluigi.fiorini@gmail.com
|
* Pier Luigi Fiorini, pierluigi.fiorini@gmail.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include <Path.h>
|
#include <Path.h>
|
||||||
|
|
||||||
#include <private/IconUtils.h>
|
#include <private/IconUtils.h>
|
||||||
|
|
|
@ -43,7 +43,7 @@ void List<T>::AddItem(T type)
|
||||||
template<class T>
|
template<class T>
|
||||||
void List<T>::RemoveItemAt(uint32 position)
|
void List<T>::RemoveItemAt(uint32 position)
|
||||||
{
|
{
|
||||||
fIter i = fMap.begin();
|
fIter i = fList.begin();
|
||||||
std::advance(i, position);
|
std::advance(i, position);
|
||||||
fList.erase(i);
|
fList.erase(i);
|
||||||
}
|
}
|
||||||
|
|
Ŝarĝante…
Reference in New Issue