Skip to content

Commit

Permalink
Merge pull request #80 from paulgessinger/unused-local-typdefs
Browse files Browse the repository at this point in the history
fix: Avoid unused local typedef
  • Loading branch information
paulgessinger authored Aug 14, 2024
2 parents 18ef062 + 7670ea1 commit 1c0e76b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ project (actsvg VERSION 0.4.41 LANGUAGES CXX )
set( CMAKE_CXX_STANDARD 17 CACHE STRING "The C++ standard to use" )
set( CMAKE_CXX_EXTENSIONS FALSE CACHE BOOL "Disable C++ extensions" )

set(ACTSVG_CXX_FLAGS "-Wall -Wextra -Wpedantic -Wshadow -Wno-unused-local-typedefs")
set(ACTSVG_CXX_FLAGS "-Wall -Wextra -Wpedantic -Wshadow")
# This adds some useful conversion checks like float-to-bool, float-to-int, etc.
# However, at the moment this is only added to clang builds, since GCC's -Wfloat-conversion
# is much more aggressive and also triggers on e.g., double-to-float
Expand Down
2 changes: 0 additions & 2 deletions meta/include/actsvg/display/sheets.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ svg::object surface_sheet_xy(const std::string& id_,
so._tag = "g";
so._id = id_;

using point3 = typename point3_container::value_type;

views::x_y x_y_view;

std::vector<views::contour> contours = {range_contour(s_, fs_)};
Expand Down

0 comments on commit 1c0e76b

Please sign in to comment.