Bug 1209027 - add missing explicit. r=bustage
authorMarco Bonardo <mbonardo@mozilla.com>
Wed, 08 Jun 2016 15:17:16 +0200
changeset 301178 0907a56af1fd595f55cce12dd7127261033b54a6
parent 301177 e69b8135f9e224e049c140dc6fad7e8aa9b18e1f
child 301179 6dbe97bc9112356f6d8d333fd52913ec0df9c075
push id78241
push userkwierso@gmail.com
push dateThu, 09 Jun 2016 00:09:10 +0000
treeherdermozilla-inbound@2c66b75bbb7f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1209027
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1209027 - add missing explicit. r=bustage MozReview-Commit-ID: 7rAmfjSDSvZ
toolkit/components/places/History.cpp
--- a/toolkit/components/places/History.cpp
+++ b/toolkit/components/places/History.cpp
@@ -613,17 +613,17 @@ NS_IMPL_ISUPPORTS_INHERITED(
 )
 
 /**
  * Notifies observers about a visit.
  */
 class NotifyVisitObservers : public Runnable
 {
 public:
-  NotifyVisitObservers(VisitData& aPlace)
+  explicit NotifyVisitObservers(VisitData& aPlace)
   : mPlace(aPlace)
   , mHistory(History::GetService())
   {
   }
 
   NS_IMETHOD Run()
   {
     MOZ_ASSERT(NS_IsMainThread(), "This should be called on the main thread");