MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / SetFloatValue

Function SetFloatValue

libapp2sys/prebuilt/include/google/protobuf/map.h:340–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338 *reinterpret_cast<string*>(data_) = value;
339 }
340 void SetFloatValue(float value) {
341 TYPE_CHECK(FieldDescriptor::CPPTYPE_FLOAT,
342 "MapValueRef::SetFloatValue");
343 *reinterpret_cast<float*>(data_) = value;
344 }
345 void SetDoubleValue(double value) {
346 TYPE_CHECK(FieldDescriptor::CPPTYPE_DOUBLE,
347 "MapValueRef::SetDoubleValue");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected