diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2025-04-18 18:43:46 +0300 | 
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-04-18 20:36:28 +0300 | 
| commit | 4cccf8af43c8ebd9f947b9050a0403f65d0de7ee (patch) | |
| tree | 205cd45b43c14b8e8b7f7400ce0081759a0f9e3a /indra | |
| parent | 8c5d144f99eacaee619d07c5046c37a2481c2fb5 (diff) | |
Restore missing 'override'
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/llui/llflatlistview.h | 24 | ||||
| -rw-r--r-- | indra/llui/lltextbox.h | 2 | 
2 files changed, 13 insertions, 13 deletions
| diff --git a/indra/llui/llflatlistview.h b/indra/llui/llflatlistview.h index 3c40f91ab0..0ea3115f30 100644 --- a/indra/llui/llflatlistview.h +++ b/indra/llui/llflatlistview.h @@ -113,7 +113,7 @@ public:      };      // disable traversal when finding widget to hand focus off to -    /*virtual*/ bool canFocusChildren() const { return false; } +    /*virtual*/ bool canFocusChildren() const override { return false; }      /**       * Connects callback to signal called when Return key is pressed. @@ -121,12 +121,12 @@ public:      boost::signals2::connection setReturnCallback( const commit_signal_t::slot_type& cb ) { return mOnReturnSignal.connect(cb); }      /** Overridden LLPanel's reshape, height is ignored, the list sets its height to accommodate all items */ -    virtual void reshape(S32 width, S32 height, bool called_from_parent  = true); +    virtual void reshape(S32 width, S32 height, bool called_from_parent  = true) override;      /** Returns full rect of child panel */      const LLRect& getItemsRect() const; -    LLRect getRequiredRect() const { return getItemsRect(); } +    LLRect getRequiredRect() override { return getItemsRect(); }      /** Returns distance between items */      const S32 getItemsPad() const { return mItemPad; } @@ -270,7 +270,7 @@ public:      U32 size(const bool only_visible_items = true) const;      /** Removes all items from the list */ -    virtual void clear(); +    virtual void clear() override;      /**       * Removes all items that can be detached from the list but doesn't destroy @@ -297,7 +297,7 @@ public:      void selectFirstItem();      void selectLastItem(); -    virtual S32 notify(const LLSD& info) ; +    virtual S32 notify(const LLSD& info) override;      virtual ~LLFlatListView(); @@ -346,8 +346,8 @@ protected:      virtual bool selectNextItemPair(bool is_up_direction, bool reset_selection); -    virtual bool canSelectAll() const; -    virtual void selectAll(); +    virtual bool canSelectAll() const override; +    virtual void selectAll() override;      virtual bool isSelected(item_pair_t* item_pair) const; @@ -364,15 +364,15 @@ protected:       */      void notifyParentItemsRectChanged(); -    virtual bool handleKeyHere(KEY key, MASK mask); +    virtual bool handleKeyHere(KEY key, MASK mask) override; -    virtual bool postBuild(); +    virtual bool postBuild() override; -    virtual void onFocusReceived(); +    virtual void onFocusReceived() override; -    virtual void onFocusLost(); +    virtual void onFocusLost() override; -    virtual void draw(); +    virtual void draw() override;      LLRect getLastSelectedItemRect(); diff --git a/indra/llui/lltextbox.h b/indra/llui/lltextbox.h index e60f528c72..507d8f3ee6 100644 --- a/indra/llui/lltextbox.h +++ b/indra/llui/lltextbox.h @@ -78,7 +78,7 @@ protected:      bool                mShowCursorHand;  protected: -    virtual std::string _getSearchText() const +    virtual std::string _getSearchText() const override      {          return LLTextBase::_getSearchText() + mText.getString();      } | 
