Skip to content

Commit cc77ed1

Browse files
More invalid overrides.
1 parent d0c88b1 commit cc77ed1

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

include/TCL_obj_base.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ namespace ecolab
951951
newTCL_obj_functor_proc(f, TCL_args(argc, argv));
952952
if (thook) thook(argc, argv);
953953
}
954-
void proc(int, const char **) {}
954+
void proc(int, CONST84 char **) {}
955955
};
956956

957957
template<class C, class M>

include/TCL_obj_stl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ namespace ecolab
424424
(ClientData)new ResizeFunctor<S>(x),
425425
TCL_cmd_data_delete);
426426
}
427-
void proc(int, const char **) {}
427+
void proc(int, CONST84 char **) {}
428428
};
429429

430430
template <class V>

include/accessor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ namespace ecolab
6161
else
6262
r << f(TCL_args(argc, argv));
6363
}
64-
void proc(int, const char **) {}
64+
void proc(int, CONST84 char **) {}
6565
};
6666

6767
/// const version - only getter is called
@@ -73,7 +73,7 @@ namespace ecolab
7373
void proc(int argc, Tcl_Obj *const argv[]) {
7474
tclreturn() << f();
7575
}
76-
void proc(int, const char **) {}
76+
void proc(int, CONST84 char **) {}
7777
};
7878

7979
/**
@@ -127,7 +127,7 @@ namespace ecolab
127127
void proc(int argc, Tcl_Obj *const argv[]) const {
128128
tclreturn()<<(_self.*g)();
129129
}
130-
void proc(int, const char **) {}
130+
void proc(int, CONST84 char **) {}
131131
std::string name; ///< name of accessor seen by TCL
132132
private:
133133
T& _self; ///< reference to the outer object accessor are working on

0 commit comments

Comments
 (0)