> For the complete documentation index, see [llms.txt](https://docs.oserosuite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oserosuite.com/technical-notes/unreal-engine-notes/compile-errors/overloaded-member-function-note-found-compile-error-in-.gen-file.md).

# Overloaded Member Function Note Found (Compile Error in .gen File)

### Error <a href="#error" id="error"></a>

```
Error	C2511	'void UPS_DFS_UI_PlayerHUD::TriggerTooltip_String(const FString &,bool,bool,FSH_RTT_TooltipSettings)': overloaded member function not found in 'UPS_DFS_UI_PlayerHUD' E:\PS_Projects\Deforestation\Intermediate\Build\Win64\UnrealEditor\Inc\Deforestation\UHT\PS_DFS_UI_PlayerHUD.gen.cpp	
```

### Cause <a href="#cause" id="cause"></a>

The compiler has added “const” and &” to one of the input paramaters in the function in the .gen file:

```cpp
void UPS_DFS_UI_PlayerHUD::TriggerTooltip_String(const FString& Tooltip, bool bPrintAlways, bool bSavetoHistory, FSH_RTT_TooltipSettings TooltipSettings) {}
```

### Fix <a href="#fix" id="fix"></a>

Add the “const” and &” to the definition in the main class’s code:

```cpp
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent, Category = "Tooltips", meta = (DisplayName = "Trigger Tooltip (String)"))
	void TriggerTooltip_String(const FString& Tooltip, bool bPrintAlways = false, bool bSavetoHistory = true, FSH_RTT_TooltipSettings TooltipSettings = FSH_RTT_TooltipSettings());
```
