BIND 10 trac1955, updated. 6ae6562d99f3917bfaa379a6d2466417e57c4d6e [1955] Added "const" to arguments of setData()

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Jun 11 16:09:43 UTC 2012


The branch, trac1955 has been updated
       via  6ae6562d99f3917bfaa379a6d2466417e57c4d6e (commit)
      from  0235da81624be30ea2aeadaf1c93fde1ba1bd057 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6ae6562d99f3917bfaa379a6d2466417e57c4d6e
Author: Stephen Morris <stephen at isc.org>
Date:   Mon Jun 11 17:04:52 2012 +0100

    [1955] Added "const" to arguments of setData()
    
    Definition now matches the declaration.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dhcp/option.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/option.h b/src/lib/dhcp/option.h
index 4e086e5..0662967 100644
--- a/src/lib/dhcp/option.h
+++ b/src/lib/dhcp/option.h
@@ -250,8 +250,8 @@ public:
     ///
     /// @param first iterator pointing begining of buffer to copy.
     /// @param last iterator pointing to end of buffer to copy.
-    void setData(OptionBufferConstIter first,
-                 OptionBufferConstIter last);
+    void setData(const OptionBufferConstIter first,
+                 const OptionBufferConstIter last);
 
     /// just to force that every option has virtual dtor
     virtual ~Option();



More information about the bind10-changes mailing list