U++ framework
Do not panic. Ask here before giving up.

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: 1244
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: Fri Sep 04 09:26:15 GMT+2 2026

Total time taken to generate the page: 0.00682 seconds