Mark UpdateMessage::init() as private since it exists only as a helper for the constructors

This commit is contained in:
Robert Knight 2011-08-29 21:39:17 +01:00
parent 2c70cebd05
commit cb1e1c612a

View file

@ -26,16 +26,17 @@ class UpdateMessage
init(0,type);
}
void* receiver;
Type type;
std::string message;
int progress;
private:
void init(void* receiver, Type type)
{
this->progress = 0;
this->receiver = receiver;
this->type = type;
}
void* receiver;
Type type;
std::string message;
int progress;
};