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
fd71800b
Commit
fd71800b
authored
15 years ago
by
James Cook
Browse files
Options
Downloads
Patches
Plain Diff
De-inline virtual functions with llerrs to reduce link time.
parent
11cc5631
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/llmessage/lldatapacker.cpp
+12
-0
12 additions, 0 deletions
indra/llmessage/lldatapacker.cpp
indra/llmessage/lldatapacker.h
+3
-2
3 additions, 2 deletions
indra/llmessage/lldatapacker.h
with
15 additions
and
2 deletions
indra/llmessage/lldatapacker.cpp
+
12
−
0
View file @
fd71800b
...
...
@@ -55,6 +55,18 @@ LLDataPacker::LLDataPacker() : mPassFlags(0), mWriteEnabled(FALSE)
{
}
//virtual
void
LLDataPacker
::
reset
()
{
llerrs
<<
"Using unimplemented datapacker reset!"
<<
llendl
;
}
//virtual
void
LLDataPacker
::
dumpBufferToLog
()
{
llerrs
<<
"dumpBufferToLog not implemented for this type!"
<<
llendl
;
}
BOOL
LLDataPacker
::
packFixed
(
const
F32
value
,
const
char
*
name
,
const
BOOL
is_signed
,
const
U32
int_bits
,
const
U32
frac_bits
)
{
...
...
This diff is collapsed.
Click to expand it.
indra/llmessage/lldatapacker.h
+
3
−
2
View file @
fd71800b
...
...
@@ -45,8 +45,9 @@ class LLDataPacker
public:
virtual
~
LLDataPacker
()
{}
virtual
void
reset
()
{
llerrs
<<
"Using unimplemented datapacker reset!"
<<
llendl
;
};
virtual
void
dumpBufferToLog
()
{
llerrs
<<
"dumpBufferToLog not implemented for this type!"
<<
llendl
;
}
// Not required to override, but error to call?
virtual
void
reset
();
virtual
void
dumpBufferToLog
();
virtual
BOOL
hasNext
()
const
=
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