git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update ChangeLog.
[stg.git]
/
projects
/
stargazer
/
plugins
/
authorization
/
ao
/
ao.cpp
diff --git
a/projects/stargazer/plugins/authorization/ao/ao.cpp
b/projects/stargazer/plugins/authorization/ao/ao.cpp
index 5acea091a9e17de0bbfd8a124069934877372af3..853df2a4f8595162380ca873106c5ee1afb93f5e 100644
(file)
--- a/
projects/stargazer/plugins/authorization/ao/ao.cpp
+++ b/
projects/stargazer/plugins/authorization/ao/ao.cpp
@@
-56,7
+56,7
@@
template <typename varType>
class IS_CONTAINS_USER: public std::binary_function<varType, USER_PTR, bool>
{
public:
class IS_CONTAINS_USER: public std::binary_function<varType, USER_PTR, bool>
{
public:
- bool operator()(
varType
notifier, USER_PTR user) const
+ bool operator()(
const varType&
notifier, USER_PTR user) const
{
return notifier.GetUser() == user;
}
{
return notifier.GetUser() == user;
}