Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/shared/Communication.cpp

Issue 11013110: Cleanup (Closed)
Patch Set: More beautification and addressing comments Created July 29, 2013, 12:13 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/shared/Communication.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/shared/Communication.cpp
===================================================================
--- a/src/shared/Communication.cpp
+++ b/src/shared/Communication.cpp
@@ -44,6 +44,15 @@
hasType = false;
}
+Communication::ValueType Communication::InputBuffer::GetType()
+{
+ if (!hasType)
+ ReadBinary(currentType);
+
+ hasType = true;
+ return currentType;
+}
+
Communication::PipeConnectionError::PipeConnectionError()
: std::runtime_error(AppendErrorCode("Unable to connect to a named pipe"))
{
« no previous file with comments | « src/shared/Communication.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld