Wireshark-commits: [Wireshark-commits] master ba7657c: Cast away constness at the point where it ca

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 20 Feb 2018 19:52:25 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ba7657cb19f3a221c842bbf12b1efc2ac12c9dc0
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

ba7657c by Guy Harris (guy@xxxxxxxxxxxx):

    Cast away constness at the point where it can't be avoided.
    
    The only reason why we have to cast it away is that C doesn't have a
    good framework for creating collections of objects of arbitrary type
    (where type includes constness) and we're using a datatype (GHashTable)
    implemented and declared in C here.  Do it in the g_hash_table_insert()
    call.
    
    Change-Id: Ibd7706255519a97b77e4e4a52fada43e050f2bf0
    Reviewed-on: https://code.wireshark.org/review/25938
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  442e06d   Don't gratuitously cast away constness.
    adds  ba7657c   Cast away constness at the point where it can't be avoided.


Summary of changes:
 ui/qt/wireless_timeline.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)