Static Mesh Actor

I am getting an error in PostInitializeComponent method in .cpp file. Can you please check whether my code is correct?

My .h file looks like this,

// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "GameFramework/Actor.h"
#include "MyActor.generated.h"

UENUM(BlueprintType)
enum class EChairEnumActors : uint8
{
	EChair1 UMETA(DisplayName = "Chair1"),
	EChair2 UMETA(DisplayName = "Chair2"),
	EChair3 UMETA(DisplayName = "Chair3"),
	EChair4 UMETA(DisplayName = "Chair4"),
	EChair5 UMETA(DisplayName = "Chair5"),
	EChair6 UMETA(DisplayName = "Chair6"),
	EChair7 UMETA(DisplayName = "Chair7"),
	EChair8 UMETA(DisplayName = "Chair8"),
};


UCLASS()
class BPCPP2_API AMyActor : public AActor
{
	GENERATED_BODY()
	
public:	
	// Sets default values for this actor's properties
	AMyActor();

	virtual void PostInitializeComponents() OVERRIDE;

	// Called when the game starts or when spawned
	virtual void BeginPlay() override;
	
	// Called every frame
	virtual void Tick( float DeltaSeconds ) override;

	TSubobjectPtr<UStaticMeshComponent> Chairs;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Enum)
	EChairEnumActors ActorsType;

};