mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
cleanup
This commit is contained in:
parent
fe2a40b06e
commit
3498af6be9
5 changed files with 6 additions and 26 deletions
|
|
@ -1,18 +0,0 @@
|
|||
#include "listutil.hpp"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include "stringutil.hpp"
|
||||
|
||||
std::string util::to_string(const std::vector<std::string>& vec) {
|
||||
std::stringstream ss;
|
||||
ss << "[";
|
||||
for (size_t i = 0; i < vec.size(); i++) {
|
||||
ss << util::quote(vec[1]);
|
||||
if (i < vec.size() - 1) {
|
||||
ss << ", ";
|
||||
}
|
||||
}
|
||||
ss << "]";
|
||||
return ss.str();
|
||||
}
|
||||
|
|
@ -33,6 +33,4 @@ namespace util {
|
|||
a.reserve(a.size() + b.size());
|
||||
a.insert(a.end(), b.begin(), b.end());
|
||||
}
|
||||
|
||||
std::string to_string(const std::vector<std::string>& vec);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue