]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/layout.cpp
Use some template magic to deduce the proper 3D type
[r2c2.git] / source / 3d / layout.cpp
index fe3514f4cd29437627cd1f213833e6e2f759a3ff..59a23c935aab6be2f3e41c5e53c4e383e3975f14 100644 (file)
@@ -52,7 +52,7 @@ void Layout3D::add(Object3D &o)
        insert_unique(objects, &o.get_object(), &o);
 }
 
-Object3D &Layout3D::get(Object &o) const
+Object3D &Layout3D::get_3d(Object &o) const
 {
        return *get_item(objects, &o);
 }