Skip to content
  • Philipp Jungkamp's avatar
    Fix SampleFlags HAS_ALL and NEW_FRAME · 043ff81e
    Philipp Jungkamp authored and Steffen Vogel's avatar Steffen Vogel committed
    
    
    SampleFlags::HAS_ALL was not including the NEW_* style flags.
    The NEW_SIMULATION flag is now independent from the NEW_FRAME flag,
    since the dependency made checking that flag unnecessarily difficult.
    
    Checking a composite flag like this
    
     if ((smp->flags & SampleFlags::NEW_SIMULATION) == SampleFlags::NEW_SIMULATION);
    
    is more verbose than checking a simple flag like
    
     if (smp->flags & SampleFlags::NEW_SIMULATION);
    
    Signed-off-by: default avatarPhilipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
    043ff81e