diff --git a/utilities/document/json_document.cc b/utilities/document/json_document.cc index 300b07cacf..46da6f8bac 100644 --- a/utilities/document/json_document.cc +++ b/utilities/document/json_document.cc @@ -263,6 +263,8 @@ bool JSONDocument::operator==(const JSONDocument& rhs) const { default: assert(false); } + // it can't come to here, but we don't want the compiler to complain + return false; } JSONDocument::ItemsIteratorGenerator JSONDocument::Items() const {