git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix include path.
[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 d8b6dc88bf48719a7504a9f08328bdfb08c25973..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() { 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); }