Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
JennaHuntsman
XDG Integration
Commits
def000ea
Commit
def000ea
authored
14 years ago
by
Jonathan Yap
Browse files
Options
Downloads
Patches
Plain Diff
STORM-1128 Made a few code changes suggested in code review comments.
parent
8c797002
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/newview/llfloaterworldmap.cpp
+3
-2
3 additions, 2 deletions
indra/newview/llfloaterworldmap.cpp
with
3 additions
and
2 deletions
indra/newview/llfloaterworldmap.cpp
+
3
−
2
View file @
def000ea
...
@@ -73,6 +73,7 @@
...
@@ -73,6 +73,7 @@
#include
"llslider.h"
#include
"llslider.h"
#include
"message.h"
#include
"message.h"
#include
"llwindow.h"
// copyTextToClipboard()
#include
"llwindow.h"
// copyTextToClipboard()
#include
<algorithm>
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Constants
// Constants
...
@@ -85,11 +86,11 @@ static const F32 MAP_ZOOM_TIME = 0.2f;
...
@@ -85,11 +86,11 @@ static const F32 MAP_ZOOM_TIME = 0.2f;
// Currently (01/26/09), this value allows the whole grid to be visible in a 1024x1024 window.
// Currently (01/26/09), this value allows the whole grid to be visible in a 1024x1024 window.
static
const
S32
MAX_VISIBLE_REGIONS
=
512
;
static
const
S32
MAX_VISIBLE_REGIONS
=
512
;
// It would be more logical to have this inside the method where it is used but to compile under gcc this
// It would be more logical to have this inside the method where it is used but to compile under gcc this
// struct has to be here.
// struct has to be here.
struct
SortRegionNames
struct
SortRegionNames
{
{
inline
bool
operator
()(
const
std
::
pair
<
U64
,
LLSimInfo
*>&
_left
,
const
std
::
pair
<
U64
,
LLSimInfo
*>&
_right
)
inline
bool
operator
()(
std
::
pair
<
U64
,
LLSimInfo
*>
const
&
_left
,
std
::
pair
<
U64
,
LLSimInfo
*>
const
&
_right
)
{
{
return
(
LLStringUtil
::
compareInsensitive
(
_left
.
second
->
getName
(),
_right
.
second
->
getName
())
<
0
);
return
(
LLStringUtil
::
compareInsensitive
(
_left
.
second
->
getName
(),
_right
.
second
->
getName
())
<
0
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment