summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/cpp/resource.h')
-rw-r--r--ppapi/cpp/resource.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ppapi/cpp/resource.h b/ppapi/cpp/resource.h
index f214672..8f5a92d 100644
--- a/ppapi/cpp/resource.h
+++ b/ppapi/cpp/resource.h
@@ -91,4 +91,8 @@ inline bool operator==(const pp::Resource& lhs, const pp::Resource& rhs) {
return lhs.pp_resource() == rhs.pp_resource();
}
+inline bool operator!=(const pp::Resource& lhs, const pp::Resource& rhs) {
+ return !(lhs == rhs);
+}
+
#endif // PPAPI_CPP_RESOURCE_H_