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
87f9d12d
Commit
87f9d12d
authored
3 years ago
by
Rye Mutt
Browse files
Options
Downloads
Patches
Plain Diff
Small optimizations to clear up hotspots in llsingleton
parent
b44c454c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
indra/llcommon/llsingleton.h
+3
-3
3 additions, 3 deletions
indra/llcommon/llsingleton.h
with
3 additions
and
3 deletions
indra/llcommon/llsingleton.h
+
3
−
3
View file @
87f9d12d
...
...
@@ -26,7 +26,7 @@
#define LLSINGLETON_H
#include
<boost/noncopyable.hpp>
#include
<boost/u
no
r
de
red
_set.h
pp>
#include
"absl/container/
node
_hash
_set.h
"
#include
<initializer_list>
#include
<list>
#include
<typeinfo>
...
...
@@ -53,7 +53,7 @@ class LLSingletonBase: private boost::noncopyable
static
vec_t
dep_sort
();
// we directly depend on these other LLSingletons
typedef
boost
::
u
no
r
de
red
_set
<
LLSingletonBase
*>
set_t
;
typedef
absl
::
node
_hash
_set
<
LLSingletonBase
*>
set_t
;
set_t
mDepends
;
protected:
...
...
@@ -114,7 +114,7 @@ class LLSingletonBase: private boost::noncopyable
// delegate logging calls to llsingleton.cpp
public
:
typedef
std
::
initializer_list
<
const
std
::
string
>
string_params
;
typedef
std
::
initializer_list
<
const
std
::
string
_view
>
string_params
;
protected
:
static
void
logerrs
(
const
string_params
&
);
static
void
logwarns
(
const
string_params
&
);
...
...
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