summaryrefslogtreecommitdiffstats
path: root/generic/tclOOCall.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-14 20:59:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-14 20:59:44 (GMT)
commit9e3724ae417191dfc027b285d015f7ca332c9204 (patch)
treec136ecc7651b6ca69b07e692b242cd52f67184e3 /generic/tclOOCall.c
parent1eaffe477b0ae6538983f20134f28711e94ecdbd (diff)
downloadtcl-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.c4
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