Error C3848 when compiling the "TaskScheduler" file

Hello everyone, Today I try to compile TrinityCore 4.3.4 and in the common, and more specific project, in the “TaskScheduler” file my IDE (Visual Studio 2019) throws error C3848 four times. The following image shows the errors.


I do not know what the problem is, and tried to find a solution but I have not found a solution.

I would appreciate the help. Thanks.

If someone else has been having or still has this same error, here is the solution.
They should only add the word ‘const’ at the end of the operator overload declaration ‘()’ on line 126 of the TaskScheduler.h file, as shown in the image.