git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor changes for Darwin.
[stg.git]
/
projects
/
stargazer
/
plugins
/
authorization
/
ao
/
ao.h
diff --git
a/projects/stargazer/plugins/authorization/ao/ao.h
b/projects/stargazer/plugins/authorization/ao/ao.h
index 34c15d918c36c577ab0c7002c90d9052adf509c5..bf1cbe6be83188e81cddf48d958f6fb73379cdbd 100644
(file)
--- a/
projects/stargazer/plugins/authorization/ao/ao.h
+++ b/
projects/stargazer/plugins/authorization/ao/ao.h
@@
-89,7
+89,7
@@
public:
int Start();
int Stop();
int Start();
int Stop();
- int Reload(const MODULE_SETTINGS &
ms
) { return 0; }
+ int Reload(const MODULE_SETTINGS &
/*ms*/
) { return 0; }
bool IsRunning() { return isRunning; }
void SetSettings(const MODULE_SETTINGS &) {}
int ParseSettings() { return 0; }
bool IsRunning() { return isRunning; }
void SetSettings(const MODULE_SETTINGS &) {}
int ParseSettings() { return 0; }
@@
-126,7
+126,7
@@
private:
class ADD_USER_NONIFIER: public NOTIFIER_BASE<USER_PTR> {
public:
class ADD_USER_NONIFIER: public NOTIFIER_BASE<USER_PTR> {
public:
- ADD_USER_NONIFIER(AUTH_AO & a) : auth(a) {}
+
explicit
ADD_USER_NONIFIER(AUTH_AO & a) : auth(a) {}
virtual ~ADD_USER_NONIFIER() {}
void Notify(const USER_PTR & user) { auth.AddUser(user); }
virtual ~ADD_USER_NONIFIER() {}
void Notify(const USER_PTR & user) { auth.AddUser(user); }
@@
-139,7
+139,7
@@
private:
class DEL_USER_NONIFIER: public NOTIFIER_BASE<USER_PTR> {
public:
class DEL_USER_NONIFIER: public NOTIFIER_BASE<USER_PTR> {
public:
- DEL_USER_NONIFIER(AUTH_AO & a) : auth(a) {}
+
explicit
DEL_USER_NONIFIER(AUTH_AO & a) : auth(a) {}
virtual ~DEL_USER_NONIFIER() {}
void Notify(const USER_PTR & user) { auth.DelUser(user); }
virtual ~DEL_USER_NONIFIER() {}
void Notify(const USER_PTR & user) { auth.DelUser(user); }