mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Create definition point for kNsdTypeInfo.
Per the standard, this is necessary since the variable is ODR-used, though some compilers will not complain without it because ODR violations do not require a diagnostic. PiperOrigin-RevId: 406741338
This commit is contained in:
@@ -21,6 +21,7 @@ cc_library(
|
||||
"base64_utils.cc",
|
||||
"bluetooth_utils.cc",
|
||||
"input_stream.cc",
|
||||
"nsd_service_info.cc",
|
||||
"prng.cc",
|
||||
],
|
||||
hdrs = [
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
// Copyright 2021 Google LLC
|
||||
//
|
||||
// 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
|
||||
//
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include "platform/base/nsd_service_info.h"
|
||||
|
||||
namespace location {
|
||||
namespace nearby {
|
||||
|
||||
constexpr absl::string_view NsdServiceInfo::kNsdTypeFormat;
|
||||
|
||||
} // namespace nearby
|
||||
} // namespace location
|
||||
Reference in New Issue
Block a user