formatting

This commit is contained in:
2020-06-10 17:29:28 +02:00
parent 200186ddde
commit ab72d342c9
16 changed files with 188 additions and 207 deletions

View File

@ -1,6 +1,6 @@
#pragma once
#include "TypeTraits.h"
#include "ToString.h"
#include "TypeTraits.h"
#include <array>
#include <cassert>
#include <iostream>
@ -189,7 +189,4 @@ std::ostream &operator<<(std::ostream &os,
return os << ToString(c);
}
} // namespace sls

View File

@ -264,10 +264,10 @@ ToString(const T &obj) {
}
template <typename T>
std::vector<T> StringTo(const std::vector<std::string>& strings){
std::vector<T> StringTo(const std::vector<std::string> &strings) {
std::vector<T> result;
result.reserve(strings.size());
for (const auto& s : strings)
for (const auto &s : strings)
result.push_back(StringTo<T>(s));
return result;
}

View File

@ -3,10 +3,10 @@
#define APILIB 0x200409
#define APIRECEIVER 0x200409
#define APIGUI 0x200409
#define APIEIGER 0x200610
#define APICTB 0x200610
#define APIGOTTHARD 0x200610
#define APIEIGER 0x200610
#define APICTB 0x200610
#define APIGOTTHARD 0x200610
#define APIGOTTHARD2 0x200610
#define APIJUNGFRAU 0x200610
#define APIMYTHEN3 0x200610
#define APIMOENCH 0x200610
#define APIJUNGFRAU 0x200610
#define APIMYTHEN3 0x200610
#define APIMOENCH 0x200610