Jump to content
  • 0

Ranking System - code changed from 2019 to 2013 - Problem


santa12

Question

Hi, could you please help me upgrade to Visual Studio 2013? Currently I have yes, but I always have a bug.

I've changed most, made a million tries but still don't understand why I can't compile

i try this with unique_ptr / auto_ptr / shared_ptr / but nothing

 

Error    27    error C2664: 'bool (__vectorcall *)(std::auto_ptr<CPythonRanking::SRankingData> &)' : cannot convert argument 1 from 'const std::auto_ptr<CPythonRanking::SRankingData>' to 'std::auto_ptr<CPythonRanking::SRankingData> &'    C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm    44    1    UserInterface
 

my current files:

PythonRaking.cpp

https://pastebin.com/j6MDesD5

PyhonRanking.h

https://pastebin.com/FRBq2W8M

Link to post

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.