mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Remove all occurrences of reinterpret_cast<>.
* src/keyword-list.h (Keyword_List): Add template parameter list <KT>. (KeywordExt_List): Define as a typedef, not as a subclass. (copy_list, delete_list, mergesort_list): Templatize accordingly. * src/keyword-list.icc (Keyword_List): Add template parameter list <KT>. (KeywordExt_List): Remove method definitions. * src/keyword-list.cc (Keyword_List): Add template parameter list <KT>. (copy_list, mergesort_list): Remove definitions on subclass. Add explicit template instantiation. * src/keyword.h (Keyword_Factory): Add template parameter list <KT>. * src/keyword.cc (Keyword_Factory): Likewise. Add explicit template instantiation. * src/input.h (Input): Add template parameter list <KT>. * src/input.cc (Input): Likewise. Add explicit template instantiation. * src/main.cc (KeywordExt_Factory): Define as a typedef, not as a subclass. (main): Update.
This commit is contained in:
20
ChangeLog
20
ChangeLog
@@ -1,3 +1,23 @@
|
||||
2025-04-05 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Remove all occurrences of reinterpret_cast<>.
|
||||
* src/keyword-list.h (Keyword_List): Add template parameter list <KT>.
|
||||
(KeywordExt_List): Define as a typedef, not as a subclass.
|
||||
(copy_list, delete_list, mergesort_list): Templatize accordingly.
|
||||
* src/keyword-list.icc (Keyword_List): Add template parameter list <KT>.
|
||||
(KeywordExt_List): Remove method definitions.
|
||||
* src/keyword-list.cc (Keyword_List): Add template parameter list <KT>.
|
||||
(copy_list, mergesort_list): Remove definitions on subclass.
|
||||
Add explicit template instantiation.
|
||||
* src/keyword.h (Keyword_Factory): Add template parameter list <KT>.
|
||||
* src/keyword.cc (Keyword_Factory): Likewise.
|
||||
Add explicit template instantiation.
|
||||
* src/input.h (Input): Add template parameter list <KT>.
|
||||
* src/input.cc (Input): Likewise. Add explicit template instantiation.
|
||||
* src/main.cc (KeywordExt_Factory): Define as a typedef, not as a
|
||||
subclass.
|
||||
(main): Update.
|
||||
|
||||
2025-04-05 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Make output on Windows identical to output on Unix.
|
||||
|
||||
Reference in New Issue
Block a user