Skip to content

Commit

Permalink
Enabling forward declarations also for cpp-restsdk generator (#6996)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvistein authored Jul 22, 2020
1 parent a59e506 commit 454ceb4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
namespace {{this}} {
{{/modelNamespaceDeclarations}}

{{#vendorExtensions.x-has-forward-declarations}}
{{#vendorExtensions.x-forward-declarations}}{{.}}
{{/vendorExtensions.x-forward-declarations}}
{{/vendorExtensions.x-has-forward-declarations}}
{{#isEnum}}
class {{declspec}} {{classname}}
: public {{#parent}}{{{parent}}}{{/parent}}{{^parent}}ModelBase{{/parent}}
Expand Down

0 comments on commit 454ceb4

Please sign in to comment.