mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-01 20:10:42 +00:00
Mark UpdateMessage::init() as private since it exists only as a helper for the constructors
This commit is contained in:
parent
2c70cebd05
commit
cb1e1c612a
1 changed files with 6 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue