Adapt to changes in codegen that require specifying the identifier in the codegen::doc function

This commit is contained in:
Alexander Bock
2021-05-25 23:10:12 +02:00
parent cb17bd7570
commit 63cbf270ee
116 changed files with 138 additions and 345 deletions

View File

@@ -59,9 +59,7 @@ namespace {
namespace openspace {
documentation::Documentation HttpSynchronization::Documentation() {
documentation::Documentation doc = codegen::doc<Parameters>();
doc.id = "http_synchronization";
return doc;
return codegen::doc<Parameters>("http_synchronization");
}
HttpSynchronization::HttpSynchronization(const ghoul::Dictionary& dict,

View File

@@ -78,9 +78,7 @@ namespace {
namespace openspace {
documentation::Documentation UrlSynchronization::Documentation() {
documentation::Documentation doc = codegen::doc<Parameters>();
doc.id = "sync_synchronization_url";
return doc;
return codegen::doc<Parameters>("sync_synchronization_url");
}
UrlSynchronization::UrlSynchronization(const ghoul::Dictionary& dict,

View File

@@ -56,9 +56,7 @@ namespace {
namespace openspace {
documentation::Documentation SyncAssetTask::documentation() {
documentation::Documentation doc = codegen::doc<Parameters>();
doc.id = "sync_asset_task";
return doc;
return codegen::doc<Parameters>("sync_asset_task");
}
SyncAssetTask::SyncAssetTask(const ghoul::Dictionary& dictionary) {