mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
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:
parent
31c09676ee
commit
48c3cfc76d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user