Bug 1923606 - Labeled.h Fix a gcc warning: 'template-id not allowed for constructor in C++20' r=sergesanspaille

Differential Revision: https://phabricator.services.mozilla.com/D226592
This commit is contained in:
Sylvestre Ledru 2024-10-23 12:12:47 +00:00
parent 31c09676ee
commit 48c3cfc76d

View File

@ -30,7 +30,7 @@ namespace impl {
template <typename T, typename E>
class Labeled {
public:
constexpr explicit Labeled<T, E>(uint32_t id) : mId(id) {}
constexpr explicit Labeled(uint32_t id) : mId(id) {}
/**
* Gets a specific metric for a given label.