# Generated\_body()

**URL:** <https://forums.unrealengine.com/t/generated-body/481769>\
**Category:** C++\
**Tags:** error, unreal-engine, CPP, question\
**Created:** [April 15, 2021, 5:04am UTC](https://forums.unrealengine.com/t/generated-body/481769 "2021-04-15T05:04:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_Foki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@A\_Foki](https://forums.unrealengine.com/u/A_Foki)\
**Post date:** [April 15, 2021, 5:04am UTC](https://forums.unrealengine.com/t/generated-body/481769/1 "2021-04-15T05:04:29Z")

</div>

Hi. I have a code

```
16 class TOPDOWNSHOOTER_API UTypes : public UBlueprintFunctionLibrary
17 {
18 GENERATED_BODY()
19
20 };

```

And have error(

…/Types.h(18): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

---

<div class="post-metadata">

**Author:** ![A\_Foki](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@A\_Foki](https://forums.unrealengine.com/u/A_Foki)\
**Post date:** [April 15, 2021, 5:21am UTC](https://forums.unrealengine.com/t/generated-body/481769/2 "2021-04-15T05:21:59Z")

</div>

Sorry, I’m blind) Losed UCLASS()
