user2402328
user2402328

Reputation: 11

error: use of deleted function boost::filesystem3::directory_iterator

I have this strange error when I try to compile a C++ and qt project:

error: use of deleted function ‘boost::filesystem3::directory_iterator::directory_iterator(const boost::filesystem3::directory_iterator&)’

There is no delete() used anywhere in the code, what does this error mean? What should I be looking for when this type of error occurs?

Upvotes: 1

Views: 2209

Answers (1)

vladon
vladon

Reputation: 8401

It happens if you use std=c++11 with old libboost like 1.48.

Solution is install new version.

See this answer also.

Upvotes: 1

Related Questions