Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: 4dbf2cdf7cacf3b3e0cebb88c0f7a77bdccabaf9
      
https://github.com/synfig/synfig/commit/4dbf2cdf7cacf3b3e0cebb88c0f7a77bdccabaf9
  Author: rodolforg <rodolf...@users.noreply.github.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M synfig-core/src/modules/mod_geometry/checkerboard.cpp
    M synfig-core/src/modules/mod_yuv420p/trgt_yuv.cpp
    M synfig-core/src/synfig/color/colorblendingfunctions.h
    M synfig-core/src/synfig/distance.cpp
    M synfig-core/src/synfig/gradient.cpp
    M synfig-core/src/synfig/layers/layer_bitmap.cpp
    M synfig-core/src/synfig/rendering/software/function/blur.cpp
    M synfig-core/src/synfig/rendering/software/function/resample.cpp
    M synfig-core/src/synfig/rendering/software/task/taskblendsw.cpp
    M synfig-core/src/synfig/rendering/software/task/taskpixelgammasw.cpp
    M synfig-core/src/synfig/threadpool.cpp
    M synfig-core/src/synfig/valuenodes/valuenode_bline.cpp
    M synfig-core/src/synfig/valuenodes/valuenode_blinecalctangent.cpp
    M synfig-core/src/synfig/valuenodes/valuenode_blinecalcvertex.cpp
    M synfig-core/src/synfig/valuenodes/valuenode_blinecalcwidth.cpp
    M synfig-core/src/synfig/valuenodes/valuenode_modulo.cpp
    M synfig-core/src/synfig/valuenodes/valuenode_range.cpp
    M synfig-core/src/synfig/valuenodes/valuenode_repeat_gradient.cpp
    M synfig-core/src/synfig/valuenodes/valuenode_stripes.cpp
    M synfig-studio/src/gui/canvasview.cpp
    M synfig-studio/src/gui/cellrenderer/cellrenderer_timetrack.cpp
    M synfig-studio/src/gui/helpers.h
    M synfig-studio/src/gui/preview.cpp
    M synfig-studio/src/gui/timemodel.cpp
    M synfig-studio/src/gui/widgets/widget_keyframe_list.cpp
    M synfig-studio/src/gui/workarea.cpp

  Log Message:
  -----------
  refactor: make use of synfig::clamp instead of std::max(std::min()) (#2714)

It's more readable this way.
In C++17, we can replace it with `std::clamp()`.




_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to