mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 05:57:36 +03:00
Made ExtensionMessage's NAME const char[]
This commit is contained in:
parent
c522d79d89
commit
f0000a8754
11 changed files with 22 additions and 20 deletions
|
@ -71,12 +71,12 @@ public:
|
|||
return 0;
|
||||
}
|
||||
|
||||
virtual const std::string& getExtensionName() const
|
||||
virtual const char* getExtensionName() const
|
||||
{
|
||||
return EXTENSION_NAME;
|
||||
}
|
||||
|
||||
static const std::string EXTENSION_NAME;
|
||||
static const char EXTENSION_NAME[];
|
||||
|
||||
virtual std::string toString() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue