Commit e01cb8ad authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

another fix to operator-> just like the one made in message.cc

added some comments on the intent


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac251@2249 e5f2f494-b856-4b98-b285-d166d9295462
parent fa6eb99b
...@@ -18,9 +18,11 @@ AC_LANG_CPLUSPLUS ...@@ -18,9 +18,11 @@ AC_LANG_CPLUSPLUS
# OS dependent compiler flags # OS dependent compiler flags
case "$host" in case "$host" in
*-solaris*) *-solaris*)
CPPFLAGS="$CPPFLAGS -D_XPG4_2 -D__EXTENSIONS__" # Solaris requires special definitions to get some standard libraries
;; # (e.g. getopt(3)) available with common used header files.
CPPFLAGS="$CPPFLAGS -D_XPG4_2 -D__EXTENSIONS__"
;;
esac esac
m4_define([_AM_PYTHON_INTERPRETER_LIST], [python python3 python3.1]) m4_define([_AM_PYTHON_INTERPRETER_LIST], [python python3 python3.1])
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <config.h> #include <config.h>
#include <unistd.h> #include <unistd.h> // for some IPC/network system calls
#include <asio.hpp> #include <asio.hpp>
#include <boost/bind.hpp> #include <boost/bind.hpp>
......
...@@ -24,8 +24,8 @@ struct IOServiceImpl; ...@@ -24,8 +24,8 @@ struct IOServiceImpl;
class IOService { class IOService {
public: public:
IOService(AuthSrv* auth_server, const char* const port, const bool use_ipv4, IOService(AuthSrv* auth_server, const char* const port,
const bool use_ipv6); const bool use_ipv4, const bool use_ipv6);
~IOService(); ~IOService();
void run(); void run();
void stop(); void stop();
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
// A middle term solution is to generalize our local wrapper interface // A middle term solution is to generalize our local wrapper interface
// (currently only available for the auth server), where all such portability // (currently only available for the auth server), where all such portability
// issues are hidden, and to have other modules use the wrapper. // issues are hidden, and to have other modules use the wrapper.
#include <unistd.h> #include <unistd.h> // for some IPC/network system calls
#include <asio.hpp> #include <asio.hpp>
#include <asio/error_code.hpp> #include <asio/error_code.hpp>
#include <asio/system_error.hpp> #include <asio/system_error.hpp>
......
...@@ -60,7 +60,7 @@ public: ...@@ -60,7 +60,7 @@ public:
} }
P operator->() const P operator->() const
{ {
return (it_.operator->()); return (&(operator*()));
} }
bool operator==(const RRsetListIterator& other) bool operator==(const RRsetListIterator& other)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment