summaryrefslogtreecommitdiff
path: root/tutorial/cpp
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2008-02-06 22:18:40 +0000
committerDavid Reiss <dreiss@apache.org>2008-02-06 22:18:40 +0000
commit0c90f6f8af1d64ec9272bb2f6092336f3d0b8df8 (patch)
tree15245f459a76acc769d8fe99179176b4965bf66d /tutorial/cpp
parent3160971286aea0d5b28d5a7a87acaa8a12209ef8 (diff)
downloadthrift-0c90f6f8af1d64ec9272bb2f6092336f3d0b8df8.tar.gz
Thrift: Whitespace cleanup.
Summary: - Expanded tabs to spaces where spaces were the norm. - Deleted almost all trailing whitespace. - Added newlines to the ends of a few files. - Ran dos2unix on one file or two. Reviewed By: mcslee Test Plan: git diff -b Revert Plan: ok git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665467 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tutorial/cpp')
-rw-r--r--tutorial/cpp/CppClient.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tutorial/cpp/CppClient.cpp b/tutorial/cpp/CppClient.cpp
index b97116062..a21125b2d 100644
--- a/tutorial/cpp/CppClient.cpp
+++ b/tutorial/cpp/CppClient.cpp
@@ -26,10 +26,10 @@ int main(int argc, char** argv) {
try {
transport->open();
-
+
client.ping();
printf("ping()\n");
-
+
int32_t sum = client.add(1,1);
printf("1+1=%d\n", sum);
@@ -50,7 +50,7 @@ int main(int argc, char** argv) {
work.num2 = 10;
int32_t diff = client.calculate(1, work);
printf("15-10=%d\n", diff);
-
+
// Note that C++ uses return by reference for complex types to avoid
// costly copy construction
SharedStruct ss;