X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fbackends%2Fopengl%2Fdatatype_backend.cpp;fp=source%2Fbackends%2Fopengl%2Fdatatype_backend.cpp;h=da97010fae0ccdb99cf4ac29ca6035f1cea1abd7;hb=857e0a3f684fba4810260697a78a769dff514f1f;hp=15709693ae19d63f1f96a2e3e3b4da5b36b2a78d;hpb=afffed5bf161b5972a02f055225701118ed5a4e7;p=libs%2Fgl.git diff --git a/source/backends/opengl/datatype_backend.cpp b/source/backends/opengl/datatype_backend.cpp index 15709693..da97010f 100644 --- a/source/backends/opengl/datatype_backend.cpp +++ b/source/backends/opengl/datatype_backend.cpp @@ -94,7 +94,7 @@ namespace GL { unsigned get_gl_type(DataType type) { const MappedType *end = type_map+type_map_size; - const MappedType *ptr = lower_bound(type_map, end, type, type_compare); + const MappedType *ptr = std::lower_bound(type_map, end, type, type_compare); if(ptr==end || ptr->type!=type) throw invalid_argument("get_gl_type"); return ptr->gl_type;