Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now
- - - - -

Can't implicitly convert from 'const TestClass@' to 'TestClass@&'.

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 FDsagizi   Members   

514
Like
0Likes
Like

Posted 22 January 2014 - 02:08 AM

Hi smile.png  Im here againe) And soon show our game)

 

Today update for new AS from svn. and found bug:

 

Message : Can't implicitly convert from 'const TestClass@' to 'TestClass@&'.

Sample code:

class TestClass{}

void Test(){
   array<TestClass@> test;
   TestClass @s = test.Size() > 0 ? test[i] : null;
}


#2 Andreas Jonsson   Moderators   

4628
Like
0Likes
Like

Posted 22 January 2014 - 06:15 AM

Thanks, I'll look into this.


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

#3 Andreas Jonsson   Moderators   

4628
Like
0Likes
Like

Posted 23 January 2014 - 05:58 PM

I've fixed this in revision 1815.

 

Thanks,

Andreas


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.