Ignore:
Timestamp:
05/07/21 12:37:39 (3 months ago)
Author:
tbretz
Message:
root 6.24 requires some more includes, clasng 10 is a bit more picky about overload warinings and casting, gErrorMutex i deprecated -> so we can only lock our error handler again ourselves... well... mess ahead... thank you.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcamera/MCameraDC.cc

    r9010 r20096  
    106106Float_t MCameraDC::GetMin() const
    107107{
    108     Float_t val = (UInt_t)-1;
     108    Float_t val = std::numeric_limits<Float_t>::max();
    109109    for (int i=0; i<fArray.GetSize(); i++)
    110110        val = TMath::Min(val, GetCurrent(i));
Note: See TracChangeset for help on using the changeset viewer.