Fix tests and fuzzing

This commit is contained in:
Alex Hultman
2021-09-28 23:31:57 +00:00
parent 0ede7e5d8e
commit 4980400736
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
/* Create topic tree */
uWS::TopicTree<std::string> topicTree([](uWS::Subscriber *s, std::string &message, auto flags) {
uWS::TopicTree<std::string, std::string_view> topicTree([](uWS::Subscriber *s, std::string &message, auto flags) {
/* Depending on what publishing we do below (with or without empty strings),
* this assumption can hold true or not. For now it should hold true */