Jump to content
TrinityCore
Sign in to follow this  
Cantte

Error C3848 when compiling the "TaskScheduler" file

Recommended Posts

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.

image.thumb.png.c25615282ebdca5547991702793f55d5.png

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.

Share this post


Link to post
Share on other sites

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.

image.png.41f8531fdc2ebd2c0c8eb2b0ad6cd8e2.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...