mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
This commit is contained in:
parent
736cd175d5
commit
bbf33e8e4d
202 changed files with 7389 additions and 5609 deletions
|
|
@ -2,12 +2,12 @@
|
|||
#define UTIL_LISTUTIL_HPP_
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <queue>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace util {
|
||||
template<class T>
|
||||
template <class T>
|
||||
bool contains(const std::vector<T>& vec, const T& value) {
|
||||
return std::find(vec.begin(), vec.end(), value) != vec.end();
|
||||
}
|
||||
|
|
@ -15,4 +15,4 @@ namespace util {
|
|||
std::string to_string(const std::vector<std::string>& vec);
|
||||
}
|
||||
|
||||
#endif // UTIL_LISTUTIL_HPP_
|
||||
#endif // UTIL_LISTUTIL_HPP_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue