From b841ebf170ad4e8c5d8dc731bd28c2fece1ad005 Mon Sep 17 00:00:00 2001 From: Michael Grupp Date: Thu, 2 Aug 2018 20:59:23 +0200 Subject: [PATCH] Fix typo in last commit (negate condition). (#1365) --- cartographer/cloud/client/map_builder_stub.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cartographer/cloud/client/map_builder_stub.cc b/cartographer/cloud/client/map_builder_stub.cc index 0fdcfb8..37b0907 100644 --- a/cartographer/cloud/client/map_builder_stub.cc +++ b/cartographer/cloud/client/map_builder_stub.cc @@ -125,7 +125,7 @@ std::string MapBuilderStub::SubmapToProto( void MapBuilderStub::SerializeState(bool include_unfinished_submaps, io::ProtoStreamWriterInterface* writer) { - if (!include_unfinished_submaps) { + if (include_unfinished_submaps) { LOG(WARNING) << "Serializing unfinished submaps is currently unsupported. " "Proceeding to write the state without them."; }