1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "qqmlprofilereventlocation_p.h"
5
6#include <QtCore/qdatastream.h>
7
8QT_BEGIN_NAMESPACE
9
10QDataStream &operator>>(QDataStream &stream, QQmlProfilerEventLocation &location)
11{
12 return stream >> location.m_filename >> location.m_line >> location.m_column;
13}
14
15QDataStream &operator<<(QDataStream &stream, const QQmlProfilerEventLocation &location)
16{
17 return stream << location.m_filename << location.m_line << location.m_column;
18}
19
20QT_END_NAMESPACE
21

source code of qtdeclarative/src/qmldebug/qqmlprofilereventlocation.cpp