This change adds `inline` to all `constexpr` namespace-global constants in the codebase, to improve codegen around these constants.
18 lines
827 B
Plaintext
18 lines
827 B
Plaintext
/* Copyright (c) 2019 The Brave Authors. All rights reserved.
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef BRAVE_COMPONENTS_VERSION_INFO_VERSION_INFO_VALUES_H_
|
|
#define BRAVE_COMPONENTS_VERSION_INFO_VERSION_INFO_VALUES_H_
|
|
|
|
namespace version_info {
|
|
namespace constants {
|
|
inline constexpr char kBraveBrowserVersion[] = "@BRAVE_BROWSER_VERSION@";
|
|
inline constexpr char kBraveChromiumVersion[] = "@BRAVE_CHROMIUM_VERSION@";
|
|
inline constexpr char kBraveVersionNumberForDisplay[] = "@BRAVE_BROWSER_VERSION@ Chromium: @BRAVE_CHROMIUM_VERSION@";
|
|
} // namespace constants
|
|
} // namespace version_info
|
|
|
|
#endif // BRAVE_COMPONENTS_VERSION_INFO_VERSION_INFO_VALUES_H_
|