Compare commits
1 Commits
57cceaf3b7
...
main
Author | SHA1 | Date | |
---|---|---|---|
6abd8139f0 |
@@ -3,11 +3,11 @@
|
|||||||
#include "VersionedMap.h"
|
#include "VersionedMap.h"
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
inline weaselab::VersionedMap::Key operator"" _k(const char *str, size_t size) {
|
inline weaselab::VersionedMap::Key operator""_k(const char *str, size_t size) {
|
||||||
return {reinterpret_cast<const uint8_t *>(str), int(size)};
|
return {reinterpret_cast<const uint8_t *>(str), int(size)};
|
||||||
}
|
}
|
||||||
|
|
||||||
inline String operator"" _s(const char *str, size_t size) {
|
inline String operator""_s(const char *str, size_t size) {
|
||||||
return String{reinterpret_cast<const uint8_t *>(str), size};
|
return String{reinterpret_cast<const uint8_t *>(str), size};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -92,4 +92,4 @@ int main() {
|
|||||||
printMutation(*iter);
|
printMutation(*iter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user