Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
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
Alchemy Viewer
Alchemy Viewer
Commits
0a686d3f
Commit
0a686d3f
authored
4 years ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Fix debug helper to work in static func
parent
13189d73
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llfilesystem/lldiskcache.cpp
+2
-1
2 additions, 1 deletion
indra/llfilesystem/lldiskcache.cpp
indra/llfilesystem/lldiskcache.h
+1
-1
1 addition, 1 deletion
indra/llfilesystem/lldiskcache.h
with
3 additions
and
2 deletions
indra/llfilesystem/lldiskcache.cpp
+
2
−
1
View file @
0a686d3f
...
...
@@ -139,6 +139,7 @@ void LLDiskCache::purge()
}
}
//static
const
std
::
string
LLDiskCache
::
assetTypeToString
(
LLAssetType
::
EType
at
)
{
/**
...
...
@@ -146,7 +147,7 @@ const std::string LLDiskCache::assetTypeToString(LLAssetType::EType at)
* for inline initialization of an std::map<>
*/
typedef
std
::
map
<
LLAssetType
::
EType
,
std
::
string
>
asset_type_to_name_t
;
asset_type_to_name_t
asset_type_to_name
=
static
asset_type_to_name_t
asset_type_to_name
=
{
{
LLAssetType
::
AT_TEXTURE
,
"TEXTURE"
},
{
LLAssetType
::
AT_SOUND
,
"SOUND"
},
...
...
This diff is collapsed.
Click to expand it.
indra/llfilesystem/lldiskcache.h
+
1
−
1
View file @
0a686d3f
...
...
@@ -137,7 +137,7 @@ class LLDiskCache :
* Utility function to convert an LLAssetType enum into a
* string that we use as part of the cache file filename
*/
const
std
::
string
assetTypeToString
(
LLAssetType
::
EType
at
);
static
const
std
::
string
assetTypeToString
(
LLAssetType
::
EType
at
);
/**
* Utility function to create the cache directory structure
...
...
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