Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 247 Bytes
#include <algorithm>
#include <vector>
#include <cstdint>
void replace_epi8(std::vector<int8_t>& v) {
std::replace(v.begin(), v.end(), 13, 42);
}
void replace_epi32(std::vector<int32_t>& v) {
std::replace(v.begin(), v.end(), 13, 42);
}