Skip to content
Snippets Groups Projects
Commit 80e0ba31 authored by Christoph Kochendoerfer's avatar Christoph Kochendoerfer
Browse files

Merge branch 'bugfix/remove_duplicate_simulation_time' into 'master'

Remove duplicate definition of SimulationTime

See merge request eclipse/simopenpass/scenario_api!15
parents d7e30c2e 25a0088a
No related branches found
No related tags found
1 merge request!15Remove duplicate definition of SimulationTime
/*******************************************************************************
* Copyright (c) 2021, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
//-----------------------------------------------------------------------------
/** @file simulation_time.h */
//-----------------------------------------------------------------------------
#ifndef MANTLEAPI_EXECUTION_SIMULATIONTIME_H
#define MANTLEAPI_EXECUTION_SIMULATIONTIME_H
#include <chrono>
#include <cstdint>
namespace mantle_api
{
/// @brief Use milliseconds with std::int64_t representation as simulation time
using SimulationTime = std::chrono::duration<std::int64_t, std::milli>;
} // namespace mantle_api
#endif // MANTLEAPI_EXECUTION_SIMULATIONTIME_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment