From 75134e6f9dc24282e749045d5322b2277c32e9f4 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sun, 30 Aug 2009 20:06:25 -0700 Subject: Small stylistic improvements in benchmarks. --- benchmarks/parsetostruct.proto2_table.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'benchmarks/parsetostruct.proto2_table.cc') diff --git a/benchmarks/parsetostruct.proto2_table.cc b/benchmarks/parsetostruct.proto2_table.cc index ded267d..49a5b16 100644 --- a/benchmarks/parsetostruct.proto2_table.cc +++ b/benchmarks/parsetostruct.proto2_table.cc @@ -12,7 +12,7 @@ static google::protobuf::Message *msg[NUM_MESSAGES]; static bool initialize() { - /* Read the message data itself. */ + // Read the message data itself. std::ifstream stream(MESSAGE_FILE); if(!stream.is_open()) { fprintf(stderr, "Error opening " MESSAGE_FILE ".\n"); @@ -22,7 +22,7 @@ static bool initialize() stringstream << stream.rdbuf(); str = stringstream.str(); - /* Create the DynamicMessage. */ + // Create the DynamicMessage. const google::protobuf::Message *dynamic_msg_prototype = factory.GetPrototype(MESSAGE_CIDENT::descriptor()); for(int i = 0; i < NUM_MESSAGES; i++) -- cgit v1.2.3