Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
senf
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wiback
senf
Commits
de9da75d
Commit
de9da75d
authored
16 years ago
by
g0dil
Browse files
Options
Downloads
Patches
Plain Diff
Packets: BUGFIX: Fix VectorParser AuxPolicy access
parent
a3336175
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Packets/VectorParser.cti
+1
-1
1 addition, 1 deletion
Packets/VectorParser.cti
Packets/VectorParser.hh
+1
-1
1 addition, 1 deletion
Packets/VectorParser.hh
Packets/VectorParser.test.cc
+0
-4
0 additions, 4 deletions
Packets/VectorParser.test.cc
with
2 additions
and
6 deletions
Packets/VectorParser.cti
+
1
−
1
View file @
de9da75d
...
...
@@ -173,7 +173,7 @@ prefix_ void senf::VectorParser<ElementParser,AuxPolicy>::resize(size_type n, Va
template <class ElementParser, class AuxPolicy>
prefix_ senf::VectorParser_Container<ElementParser,AuxPolicy>::
VectorParser_Container(parser_type const & vector)
: AuxPolicy(vector), state_ (vector.state()),
: AuxPolicy
::WrapperPolicy(static_cast<AuxPolicy const &>
(vector)
)
, state_ (vector.state()),
i_ (std::distance(data().begin(),vector.i()))
{}
...
...
This diff is collapsed.
Click to expand it.
Packets/VectorParser.hh
+
1
−
1
View file @
de9da75d
...
...
@@ -129,7 +129,7 @@ namespace senf {
*/
template
<
class
ElementParser
,
class
AuxPolicy
>
class
VectorParser_Container
:
private
AuxPolicy
:
private
AuxPolicy
::
WrapperPolicy
{
public:
///////////////////////////////////////////////////////////////////////////
...
...
This diff is collapsed.
Click to expand it.
Packets/VectorParser.test.cc
+
0
−
4
View file @
de9da75d
...
...
@@ -262,9 +262,6 @@ BOOST_AUTO_UNIT_TEST(vectorMacro_parse)
BOOST_AUTO_UNIT_TEST
(
vectorMacro_create
)
{
/*
* This test fails with "... is an inaccessible base of ..." error
* see bugtracker @ berlios
TestVectorPacket
p
(
TestVectorPacket
::
create
());
p
->
dummy
()
=
0x01020304u
;
p
->
vec1
().
push_back
(
0x0506u
);
...
...
@@ -285,7 +282,6 @@ BOOST_AUTO_UNIT_TEST(vectorMacro_create)
0x0D
,
0x0E
};
// vec2[1]
BOOST_CHECK
(
equal
(
p
.
data
().
begin
(),
p
.
data
().
end
(),
data
));
*/
}
///////////////////////////////cc.e////////////////////////////////////////
...
...
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