Skip to content

Poco::Delegate assignment operator fails to compile for some specializations #1418

@tmarschen

Description

@tmarschen

Hello Dear,

I am using POCO for my project. But I got some compiler error on poco-1.7.4-release.

This is the error info:
"...\Foundation\include\Poco/Delegate.h", line 344: Error: #135: class template "Poco::Delegate" has no member "_pTarget"
this->_pTarget = delegate._pTarget;
^
"...\Foundation\include\Poco/Delegate.h", line 344: Error: #135: class template "Poco::Delegate" has no member "_pTarget"
this->_pTarget = delegate._pTarget;
^
...\Net\src\HTTPServerConnection.cpp: 484 warnings, 2 errors

If I remove this line in Delegate.h, it will compile success.But I am not sure if it's OK.

It's highly appreciated if anyone can help me.

thanks

B.R.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions