1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
dbus / error.cc [blame]
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "dbus/error.h"
#include <utility>
namespace dbus {
Error::Error() = default;
Error::Error(std::string name, std::string message)
: name_(std::move(name)), message_(std::move(message)) {}
Error::Error(Error&& other) = default;
Error& Error::operator=(Error&& other) = default;
Error::~Error() = default;
} // namespace dbus