NSIS-ka
A free C++ implementation of NSIS protocols

Changeset 4148


Ignore:
Timestamp:
Jul 22, 2009, 5:59:44 PM (8 years ago)
Author:
bless
Message:
  • made some arguments of radix_trie const
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protlib/branches/20081127-merge-mobility-mk3/include/address.h

    r4142 r4148  
    812812        }
    813813
    814         node *insert(netaddress &key, data_type &dat) {
     814        node *insert(const netaddress &key, data_type &dat) {
    815815                node *a, *b, *c, *n, *m;
    816816                int cmp, pos = 0;
     
    999999        }
    10001000
    1001         node *lookup_node(netaddress &key, bool lpfm = true,
     1001        node *lookup_node(const netaddress &key, bool lpfm = true,
    10021002            bool with_data = true) {
    10031003                node *a, *b, *c, *lpfn;
     
    10611061        }
    10621062
    1063         data_type *lookup(netaddress &key, bool lpfm = true) {
     1063        data_type *lookup(const netaddress &key, bool lpfm = true) {
    10641064                node *n = lookup_node(key, lpfm);
    10651065
     
    10671067        }
    10681068
    1069         bool remove(netaddress &key) {
     1069        bool remove(const netaddress &key) {
    10701070                node *n = lookup_node(key);
    10711071
Note: See TracChangeset for help on using the changeset viewer.