diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-14 20:59:44 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-14 20:59:44 (GMT) |
| commit | 9e3724ae417191dfc027b285d015f7ca332c9204 (patch) | |
| tree | c136ecc7651b6ca69b07e692b242cd52f67184e3 /generic/tclOOCall.c | |
| parent | 1eaffe477b0ae6538983f20134f28711e94ecdbd (diff) | |
| download | tcl-9e3724ae417191dfc027b285d015f7ca332c9204.zip tcl-9e3724ae417191dfc027b285d015f7ca332c9204.tar.gz tcl-9e3724ae417191dfc027b285d015f7ca332c9204.tar.bz2 | |
Eliminate useless "const int" usage, where "const" has no meaning. VC-2015 has problem when the signatures don't match
Diffstat (limited to 'generic/tclOOCall.c')
| -rw-r--r-- | generic/tclOOCall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclOOCall.c b/generic/tclOOCall.c index 71db6c1..d265c1a 100644 --- a/generic/tclOOCall.c +++ b/generic/tclOOCall.c @@ -91,7 +91,7 @@ typedef struct { static void AddClassFiltersToCallContext(Object *const oPtr, Class *clsPtr, struct ChainBuilder *const cbPtr, Tcl_HashTable *const doneFilters, int flags); -static void AddClassMethodNames(Class *clsPtr, const int flags, +static void AddClassMethodNames(Class *clsPtr, int flags, Tcl_HashTable *const namesPtr, Tcl_HashTable *const examinedClassesPtr); static inline void AddDefinitionNamespaceToChain(Class *const definerCls, @@ -671,7 +671,7 @@ CmpStr( static void AddClassMethodNames( Class *clsPtr, /* Class to get method names from. */ - const int flags, /* Whether we are interested in just the + int flags, /* Whether we are interested in just the * public method names. */ Tcl_HashTable *const namesPtr, /* Reference to the hash table to put the |
