Use templates for module population

Also add stddef.h workaround for old GCC.
RHEL-8 still uses GCC 8.5 and templates are not well supported.

Change-Id: Ia4dae23892ec63682ea848c46ba81de85cf6d209
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
This commit is contained in:
Galantsev, Dmitrii
2023-12-08 19:48:09 -06:00
parent eaa1862a80
commit f9e80cc37a
27 changed files with 135 additions and 165 deletions
-2
View File
@@ -1,4 +1,3 @@
/*
Copyright (c) 2019 - present Advanced Micro Devices, Inc. All rights reserved.
@@ -222,7 +221,6 @@ void RDCServer::Run() {
}
// Finally assemble the server.
// std::unique_ptr<::grpc::Server> server(builder.BuildAndStart());
server_ = builder.BuildAndStart();
std::cout << "Server listening on " << server_address_.c_str() << std::endl;