#include "clipplane.h"
#include "deviceinfo.h"
#include "error.h"
-#include "matrix.h"
using namespace std;
void Clipping::detach(const ClipPlane &p)
{
- vector<AttachedPlane>::iterator i = find_member(planes, &p, &AttachedPlane::plane);
+ auto i = find_member(planes, &p, &AttachedPlane::plane);
if(i!=planes.end())
planes.erase(i);
}