]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/clipping.cpp
Use standard fixed-size integer types
[libs/gl.git] / source / core / clipping.cpp
index e7ad643bdbbd0dadcb908f78f63cf2f0c237528a..d23ecffc0c2549c5eb2d3fe837213a63e99b337e 100644 (file)
@@ -3,7 +3,6 @@
 #include "clipplane.h"
 #include "deviceinfo.h"
 #include "error.h"
-#include "matrix.h"
 
 using namespace std;
 
@@ -27,7 +26,7 @@ void Clipping::attach(const ClipPlane &p)
 
 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);
 }