Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
6ef9a033
Commit
6ef9a033
authored
Jul 25, 2012
by
Michal 'vorner' Vaner
Browse files
Explicitly use std:: for map
It seems some compilers can't find it otherwise. This should make them happy.
parent
ea15a1dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/auth_srv.cc
View file @
6ef9a033
...
...
@@ -260,12 +260,13 @@ public:
const
boost
::
shared_ptr
<
TSIGKeyRing
>*
keyring_
;
/// The client list
map
<
RRClass
,
boost
::
shared_ptr
<
ConfigurableClientList
>
>
client_lists_
;
std
::
map
<
RRClass
,
boost
::
shared_ptr
<
ConfigurableClientList
>
>
client_lists_
;
boost
::
shared_ptr
<
ConfigurableClientList
>
getClientList
(
const
RRClass
&
rrclass
)
{
const
map
<
RRClass
,
boost
::
shared_ptr
<
ConfigurableClientList
>
>::
const
std
::
map
<
RRClass
,
boost
::
shared_ptr
<
ConfigurableClientList
>
>::
const_iterator
it
(
client_lists_
.
find
(
rrclass
));
if
(
it
==
client_lists_
.
end
())
{
return
(
boost
::
shared_ptr
<
ConfigurableClientList
>
());
...
...
@@ -955,7 +956,7 @@ AuthSrv::getClientList(const RRClass& rrclass) {
vector
<
RRClass
>
AuthSrv
::
getClientListClasses
()
const
{
vector
<
RRClass
>
result
;
for
(
map
<
RRClass
,
boost
::
shared_ptr
<
ConfigurableClientList
>
>::
for
(
std
::
map
<
RRClass
,
boost
::
shared_ptr
<
ConfigurableClientList
>
>::
const_iterator
it
(
impl_
->
client_lists_
.
begin
());
it
!=
impl_
->
client_lists_
.
end
();
++
it
)
{
result
.
push_back
(
it
->
first
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment