Fix build

This commit is contained in:
Fangrui Song 2018-01-10 00:15:58 -08:00
parent 6dbef41128
commit a8aa94d4ba
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,8 @@
#include <doctest/doctest.h> #include <doctest/doctest.h>
#include <loguru.hpp> #include <loguru.hpp>
#include <iostream>
void Reflect(Reader& visitor, std::variant<std::monostate, int>& version) { void Reflect(Reader& visitor, std::variant<std::monostate, int>& version) {
if (visitor.IsNull()) if (visitor.IsNull())
version = std::monostate(); version = std::monostate();

View File

@ -5,6 +5,8 @@
#include "serializer.h" #include "serializer.h"
#include "utils.h" #include "utils.h"
#include <iostream>
void Write(const std::vector<std::string>& strs) { void Write(const std::vector<std::string>& strs) {
for (const std::string& str : strs) for (const std::string& str : strs)
std::cout << str << std::endl; std::cout << str << std::endl;