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