/
farado
/
farado-binara
Обзор
Документация
Войти
/
farado
/
farado-binara
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
develop
src/common/api/changes.h
29 строк
497 B
Ostapenko Alexey
[common][datenaro][retejo][tests] Убраны лишние include, местами в пользу forward declaration.
13 янв 2024, 16:03
13 янв 2024, 16:03
f1e4442
Код
Авторство
О чём код?
#ifndef API_CHANGES_H #define API_CHANGES_H #include <set> #include <unordered_map> #include <vector> #include "common/elements/element_type.hpp" namespace Api { typedef std::unordered_map<Elements::ElementType, std::set<unsigned>> Changes; void addToChanges( Changes& changes, Elements::ElementType type, unsigned id ); void addToChanges( Changes& changes, Elements::ElementType type, const std::vector<unsigned>& ids ); } // namespace Api #endif // API_CHANGES_H