Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
3b547d35
Commit
3b547d35
authored
Jul 18, 2014
by
jieluo@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add iostream in message.cc. Remove unused in coded_stream_unittest.cc
parent
a35f979c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
coded_stream_unittest.cc
src/google/protobuf/io/coded_stream_unittest.cc
+0
-6
message.cc
src/google/protobuf/message.cc
+1
-0
No files found.
src/google/protobuf/io/coded_stream_unittest.cc
View file @
3b547d35
...
...
@@ -144,10 +144,6 @@ uint8 CodedStreamTest::buffer_[CodedStreamTest::kBufferSize];
// checks.
const
int
kBlockSizes
[]
=
{
1
,
2
,
3
,
5
,
7
,
13
,
32
,
1024
};
// In several ReadCord test functions, we either clear the Cord before ReadCord
// calls or not.
const
bool
kResetCords
[]
=
{
false
,
true
};
// -------------------------------------------------------------------
// Varint tests.
...
...
@@ -877,8 +873,6 @@ TEST_F(CodedStreamTest,
const
char
kSkipTestBytes
[]
=
"<Before skipping><To be skipped><After skipping>"
;
const
char
kSkipOutputTestBytes
[]
=
"-----------------<To be skipped>----------------"
;
TEST_1D
(
CodedStreamTest
,
SkipInput
,
kBlockSizes
)
{
memcpy
(
buffer_
,
kSkipTestBytes
,
sizeof
(
kSkipTestBytes
));
...
...
src/google/protobuf/message.cc
View file @
3b547d35
...
...
@@ -32,6 +32,7 @@
// Based on original Protocol Buffers design by
// Sanjay Ghemawat, Jeff Dean, and others.
#include <iostream>
#include <stack>
#include <google/protobuf/stubs/hash.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment