A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/protocolbuffers/protobuf/commit/683e9d2365273c951c89a377b678898ea083e178 below:

Warn on unused RepeatedPtrField. · protocolbuffers/protobuf@683e9d2 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-1

lines changed Original file line number Diff line number Diff line change

@@ -940,7 +940,8 @@ class GenericTypeHandler<std::string> {

940 940

// RepeatedPtrField is like RepeatedField, but used for repeated strings or

941 941

// Messages.

942 942

template <typename Element>

943 -

class RepeatedPtrField final : private internal::RepeatedPtrFieldBase {

943 +

class ABSL_ATTRIBUTE_WARN_UNUSED RepeatedPtrField final

944 +

: private internal::RepeatedPtrFieldBase {

944 945

static_assert(!std::is_const<Element>::value,

945 946

"We do not support const value types.");

946 947

static_assert(!std::is_volatile<Element>::value,

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4