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