Skip to content

Commit

Permalink
More code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xelatihy committed Jan 11, 2024
1 parent 0c3e62c commit d74b651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 27 deletions.
4 changes: 2 additions & 2 deletions libs/yocto/yocto_parallel.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ namespace yocto {
// a simple concurrent queue that locks at every call
template <typename T>
struct concurrent_queue {
concurrent_queue() = default;
concurrent_queue(const concurrent_queue& other) = delete;
concurrent_queue() = default;
concurrent_queue(const concurrent_queue& other) = delete;
concurrent_queue& operator=(const concurrent_queue& other) = delete;

bool empty();
Expand Down
25 changes: 0 additions & 25 deletions libs/yocto/yocto_scene.h
Original file line number Diff line number Diff line change
Expand Up @@ -381,29 +381,4 @@ scene_data make_cornellbox();

} // namespace yocto

// -----------------------------------------------------------------------------
// BACKWARDS COMPATIBILITY
// -----------------------------------------------------------------------------
namespace yocto {

using sceneio_scene [[deprecated]] = scene_data;
using scene_model [[deprecated]] = scene_data;
using sceneio_camera [[deprecated]] = camera_data;
using scene_camera [[deprecated]] = camera_data;
using sceneio_texture [[deprecated]] = texture_data;
using scene_texture [[deprecated]] = texture_data;
using sceneio_material [[deprecated]] = material_data;
using scene_material_type [[deprecated]] = material_type;
using sceneio_material [[deprecated]] = material_data;
using sceneio_shape [[deprecated]] = shape_data;
using scene_shape [[deprecated]] = shape_data;
using scene_fvshape [[deprecated]] = fvshape_data;
using sceneio_instance [[deprecated]] = instance_data;
using scene_instance [[deprecated]] = instance_data;
using sceneio_environment [[deprecated]] = environment_data;
using scene_environment [[deprecated]] = environment_data;
using scene_subdiv [[deprecated]] = subdiv_data;

} // namespace yocto

#endif

0 comments on commit d74b651

Please sign in to comment.