Commit 8bdc612b authored by Ulf Hermann's avatar Ulf Hermann

QmlProfiler: Add default template param to QmlEvent::number

The number type used to transfer data from the internal to the external
list is an implementation detail, and qint64 will always work. Users
can optimize the casting by choosing the same type as the external list
uses to store the numbers, though.

Change-Id: I069c31b130960519e7d27ec79a456924f7777364
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@theqtcompany.com>
parent 0023c870
......@@ -146,7 +146,7 @@ struct QmlEvent {
setNumbers<std::initializer_list<Number>, Number>(numbers);
}
template<typename Container, typename Number>
template<typename Container, typename Number = qint64>
Container numbers() const
{
Container container;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment