diff --git a/indra/newview/llinventorygallery.h b/indra/newview/llinventorygallery.h
index d695da4f95354352e5a1d66c4ebeeb1a569db567..5f9c191fc505aa39680411135592227db3e9153d 100644
--- a/indra/newview/llinventorygallery.h
+++ b/indra/newview/llinventorygallery.h
@@ -86,8 +86,8 @@ class LLInventoryGallery : public LLPanel, public LLEditMenuHandler
     void moveLeft();
     void moveRight();
 
-    void onFocusLost();
-    void onFocusReceived();
+    void onFocusLost() override;
+    void onFocusReceived() override;
 
     void setFilterSubString(const std::string& string);
     std::string getFilterSubString() { return mFilterSubString; }