diff --git a/indra/newview/llfloateravatarlist.cpp b/indra/newview/llfloateravatarlist.cpp index a46768fd7..77363352f 100644 --- a/indra/newview/llfloateravatarlist.cpp +++ b/indra/newview/llfloateravatarlist.cpp @@ -457,6 +457,20 @@ void col_helper(const bool hide, LLCachedControl &setting, LLScrollListColu } } +enum AVATARS_COLUMN_ORDER +{ + LIST_MARK, + LIST_AVATAR_NAME, + LIST_DISTANCE, + LIST_POSITION, + LIST_ALTITUDE, + LIST_ACTIVITY, + LIST_VOICE, + LIST_AGE, + LIST_TIME, + LIST_CLIENT, +}; + //Macro to reduce redundant lines. Preprocessor concatenation and stringizing avoids bloat that //wrapping in a class would create. #define BIND_COLUMN_TO_SETTINGS(col, name)\ diff --git a/indra/newview/llfloateravatarlist.h b/indra/newview/llfloateravatarlist.h index 9aa278d83..048c468b0 100644 --- a/indra/newview/llfloateravatarlist.h +++ b/indra/newview/llfloateravatarlist.h @@ -239,20 +239,6 @@ public: // when a line editor loses keyboard focus, it is committed. // commit callbacks are named onCommitWidgetName by convention. //void onCommitBaz(LLUICtrl* ctrl, void *userdata); - - enum AVATARS_COLUMN_ORDER - { - LIST_MARK, - LIST_AVATAR_NAME, - LIST_DISTANCE, - LIST_POSITION, - LIST_ALTITUDE, - LIST_ACTIVITY, - LIST_VOICE, - LIST_AGE, - LIST_TIME, - LIST_CLIENT, - }; typedef boost::function avlist_command_t;