Changeset 931 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibDecoder


Ignore:
Timestamp:
17 Dec 2014, 01:39:13 (10 years ago)
Author:
seregin
Message:

fix compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/source/Lib/TLibDecoder/TDecGop.cpp

    r928 r931  
    5555
    5656#if CONFORMANCE_BITSTREAM_MODE
    57 Bool pocCompareFunction( TComPic &pic1, TComPic &pic2 )
    58 {
    59   return (pic1.getPOC() < pic2.getPOC());
     57Bool pocCompareFunction( const TComPic &pic1, const TComPic &pic2 )
     58{
     59  return (const_cast<TComPic&>(pic1).getPOC() < const_cast<TComPic&>(pic2).getPOC());
    6060}
    6161#endif
Note: See TracChangeset for help on using the changeset viewer.