GRPC: Move to version strings rather than int to avoid octal numbers

This commit is contained in:
Gaute Lindkvist committed 2019-08-26 15:48:20 +02:00
1 parent a5b2a2e439
commit 7b9e6677ff
3 files changed
+7 -7

No files matched your search

@@ -27,9 +27,9 @@
//--------------------------------------------------------------------------------------------------
grpc::Status RiaGrpcAppService::GetVersion(grpc::ServerContext* context, const rips::Empty* request, rips::Version* reply)
{
reply->set_major_version(RESINSIGHT_MAJOR_VERSION);
reply->set_minor_version(RESINSIGHT_MINOR_VERSION);
reply->set_patch_version(RESINSIGHT_PATCH_VERSION);
reply->set_major_version(QString(RESINSIGHT_MAJOR_VERSION).toInt());
reply->set_minor_version(QString(RESINSIGHT_MINOR_VERSION).toInt());
reply->set_patch_version(QString(RESINSIGHT_PATCH_VERSION).toInt());
return grpc::Status::OK;
}