From d6eb4d12295d424bcd237d029ba5445350723585 Mon Sep 17 00:00:00 2001 From: Dan Minor Date: Thu, 2 Mar 2017 08:57:54 -0500 Subject: [PATCH] Bug 1343557 - Make operator AutoCreateAndDestroyReentrantMonitor::ReentrantMonitor* const; r=bsmedberg MozReview-Commit-ID: Fy3k5fvEs5J --HG-- extra : rebase_source : 52b9939a66bc828ca2609921300026b65d54f8e5 --- xpcom/tests/gtest/TestTimers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/tests/gtest/TestTimers.cpp b/xpcom/tests/gtest/TestTimers.cpp index 524e1e8b3f7b..178f34a9d584 100644 --- a/xpcom/tests/gtest/TestTimers.cpp +++ b/xpcom/tests/gtest/TestTimers.cpp @@ -66,7 +66,7 @@ public: delete mReentrantMonitor; } - operator ReentrantMonitor* () { + operator ReentrantMonitor* () const { return mReentrantMonitor; }