diff options
Diffstat (limited to 'runtime/jdwp/jdwp_main.cc')
| -rw-r--r-- | runtime/jdwp/jdwp_main.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/jdwp/jdwp_main.cc b/runtime/jdwp/jdwp_main.cc index 40211dea12..b04aa6e134 100644 --- a/runtime/jdwp/jdwp_main.cc +++ b/runtime/jdwp/jdwp_main.cc @@ -619,6 +619,18 @@ bool operator!=(const JdwpLocation& lhs, const JdwpLocation& rhs) { return !(lhs == rhs); } +bool operator==(const JdwpOptions& lhs, const JdwpOptions& rhs) { + if (&lhs == &rhs) { + return true; + } + + return lhs.transport == rhs.transport && + lhs.server == rhs.server && + lhs.suspend == rhs.suspend && + lhs.host == rhs.host && + lhs.port == rhs.port; +} + } // namespace JDWP } // namespace art |