ext/couchbase/diagnostics.hxx in couchbase-3.0.3 vs ext/couchbase/diagnostics.hxx in couchbase-3.1.0

- old
+ new

@@ -1,8 +1,8 @@ /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* - * Copyright 2020 Couchbase, Inc. + * Copyright 2020-2021 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * @@ -63,11 +63,11 @@ struct diagnostics_result { std::string id; std::string sdk; std::map<service_type, std::vector<endpoint_diag_info>> services{}; - const int version{ 2 }; + int version{ 2 }; }; enum class ping_state { ok, timeout, @@ -90,10 +90,10 @@ struct ping_result { std::string id; std::string sdk; std::map<service_type, std::vector<endpoint_ping_info>> services{}; - const int version{ 2 }; + int version{ 2 }; }; } // namespace couchbase::diag template<> struct fmt::formatter<couchbase::diag::cluster_state> : formatter<std::string_view> {