fixed style violations

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32571 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2009-08-21 15:24:37 +00:00
parent f1400a3199
commit 7d9dfe90a5

View File

@ -122,7 +122,7 @@ static profile sRedrawProcessingTime;
// TODO: Move to another file
struct BufferState {
BufferState(const direct_buffer_state &state)
BufferState(const direct_buffer_state& state)
:
fState(state)
{
@ -161,14 +161,14 @@ public:
bool full_screen;
private:
bool _HandleStop(const direct_buffer_state &state);
bool _HandleStart(const direct_buffer_state &state);
bool _HandleModify(const direct_buffer_state &state);
bool _HandleStop(const direct_buffer_state& state);
bool _HandleStart(const direct_buffer_state& state);
bool _HandleModify(const direct_buffer_state& state);
sem_id fSem;
sem_id fAcknowledgeSem;
area_id fBufferArea;
int32 fTransition;
sem_id fSem;
sem_id fAcknowledgeSem;
area_id fBufferArea;
int32 fTransition;
};
@ -270,7 +270,7 @@ DirectWindowData::SetState(const direct_buffer_state& bufferState,
bool
DirectWindowData::_HandleStop(const direct_buffer_state &state)
DirectWindowData::_HandleStop(const direct_buffer_state& state)
{
buffer_info->buffer_state = B_DIRECT_STOP;
if (fTransition-- >= 1)
@ -280,7 +280,7 @@ DirectWindowData::_HandleStop(const direct_buffer_state &state)
bool
DirectWindowData::_HandleStart(const direct_buffer_state &state)
DirectWindowData::_HandleStart(const direct_buffer_state& state)
{
buffer_info->buffer_state
= (direct_buffer_state)(BufferState(buffer_info->buffer_state).Reason() | state);
@ -292,7 +292,7 @@ DirectWindowData::_HandleStart(const direct_buffer_state &state)
bool
DirectWindowData::_HandleModify(const direct_buffer_state &state)
DirectWindowData::_HandleModify(const direct_buffer_state& state)
{
buffer_info->buffer_state = state;
if (fTransition > 0)