Init
This commit is contained in:
commit
950e7b7e2d
350 files changed
+38599
No files matched your search
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#include "PBUtils.h"
|
||||
|
||||
#include <google/protobuf/text_format.h>
|
||||
|
||||
namespace bts {
|
||||
namespace utils {
|
||||
namespace pb {
|
||||
|
||||
std::string to_string (google::protobuf::Message const &msg)
|
||||
{
|
||||
std::string result;
|
||||
google::protobuf::TextFormat::PrintToString (msg, &result);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
}}}
|
||||
Reference in new issue
Block a user