Changeset 38:161fef6c0964 in rrlib_time


Ignore:
Timestamp:
20.02.2021 21:45:39 (3 years ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
17.03
Phase:
public
Message:

Fixes compile error ("jump to case label ... crosses initialization" that occurs with some compilers)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • time.cpp

    r36 r38  
    291291  case tTimeMode::STEADY_INITIAL_SYSTEM_TIME: 
    292292    return app_duration; 
     293  default: 
     294    break; 
    293295  case tTimeMode::STRETCHED_SYSTEM_TIME: 
    294296    tTimeStretchingParameters params; 
     
    299301    } 
    300302    return tDuration((app_duration.count() / params.time_scaling_denominator) * params.time_scaling_numerator); 
    301   default: 
    302     break; 
    303303  } 
    304304  return tDuration(); 
Note: See TracChangeset for help on using the changeset viewer.