mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-29 16:47:25 -04:00
Fixed compilation for Clang.
This commit is contained in:
parent
d696f72533
commit
5e94c772b3
6 changed files with 19 additions and 40 deletions
|
@ -140,16 +140,11 @@ namespace
|
|||
protected:
|
||||
inline OptionHolder(char s,
|
||||
const char* l,
|
||||
const char* desc);
|
||||
#ifdef __APPLE__
|
||||
const char* desc);
|
||||
friend OptionHolder help(char s,
|
||||
const char* l,
|
||||
const char* desc);
|
||||
#else
|
||||
friend OptionHolder help(char s='h',
|
||||
const char* l="help",
|
||||
const char* desc="Display this help");
|
||||
#endif
|
||||
|
||||
private:
|
||||
std::string shortName_;
|
||||
std::string longName_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue