Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Please help! New transfer semantic issue!
Re: Please help! New transfer semantic issue! [message #46168 is a reply to message #46166] Mon, 21 March 2016 14:47 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
sergeynikitin wrote on Mon, 21 March 2016 14:07
Code of adding
void AddLine(Point p1, Point p2){
	lines.Add(Line(p1,p2));
	moving_line = lines.GetCount()-1;
}


Hi Sergey,

I guess the error disappear if you use

void AddLine(Point& p1, Point& p2)

Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: conversion from String to wchar_t
Next Topic: How to handle a lack of memory
Goto Forum:
  


Current Time: Wed May 08 07:49:54 CEST 2024

Total time taken to generate the page: 0.02509 seconds