Sort includes in C++ files
[babeltrace.git] / src / cpp-common / uuid-view.cpp
CommitLineData
638a0d12
SM
1/*
2 * Copyright (c) 2016-2022 Philippe Proulx <pproulx@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
638a0d12 7#include "uuid-view.hpp"
c802cacb 8#include "uuid.hpp"
638a0d12
SM
9
10namespace bt2_common {
11
12UuidView::UuidView(const Uuid& uuid) noexcept : _mUuid {uuid.data()}
13{
14}
15
16UuidView::operator Uuid() const noexcept
17{
18 return Uuid {*this};
19}
20
21} /* namespace bt2_common */
This page took 0.054736 seconds and 4 git commands to generate.