Skip to content

Commit 4e544ef

Browse files
jbachorikclaude
andcommitted
refactor(dictionary): remove unused counterId/size getters
Both methods were added to Dictionary's public surface in this PR but have zero callers anywhere in the codebase. Drop them; the underlying _id and _size fields remain because they are used internally. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d006eb1 commit 4e544ef

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

ddprof-lib/src/main/cpp/dictionary.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ class Dictionary {
8484
unsigned int bounded_lookup(const char *key, size_t length, int size_limit);
8585

8686
void collect(std::map<unsigned int, const char *> &map);
87-
88-
int counterId() const { return _id; }
89-
int size() const { return _size; }
9087
};
9188

9289
#endif // _DICTIONARY_H

0 commit comments

Comments
 (0)