diff options
Diffstat (limited to 'dbus/object_path.cc')
-rw-r--r-- | dbus/object_path.cc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dbus/object_path.cc b/dbus/object_path.cc new file mode 100644 index 0000000..2dda466 --- /dev/null +++ b/dbus/object_path.cc @@ -0,0 +1,21 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "dbus/object_path.h" + +namespace dbus { + +bool ObjectPath::operator<(const ObjectPath& that) const { + return value_ < that.value_; +} + +bool ObjectPath::operator==(const ObjectPath& that) const { + return value_ == that.value_; +} + +bool ObjectPath::operator!=(const ObjectPath& that) const { + return value_ != that.value_; +} + +} // namespace dbus |