Changeset 47:11393cc9a7d4 in rrlib_canvas


Ignore:
Timestamp:
12.12.2020 22:32:12 (19 months ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Phase:
public
Message:

Fixes clang compiler warnings

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • rtti.cpp

    r45 r47  
    7272} 
    7373 
    74 template class rrlib::rtti::detail::tDataTypeInfo<rrlib::canvas::tCanvas2D>; 
    75 template class rrlib::rtti::detail::tDataTypeInfo<std::vector<rrlib::canvas::tCanvas2D>>; 
    76 template class rrlib::rtti::detail::tDataTypeInfo<rrlib::canvas::tCanvas3D>; 
    77 template class rrlib::rtti::detail::tDataTypeInfo<std::vector<rrlib::canvas::tCanvas3D>>; 
     74template struct rrlib::rtti::detail::tDataTypeInfo<rrlib::canvas::tCanvas2D>; 
     75template struct rrlib::rtti::detail::tDataTypeInfo<std::vector<rrlib::canvas::tCanvas2D>>; 
     76template struct rrlib::rtti::detail::tDataTypeInfo<rrlib::canvas::tCanvas3D>; 
     77template struct rrlib::rtti::detail::tDataTypeInfo<std::vector<rrlib::canvas::tCanvas3D>>; 
    7878 
    7979#endif 
  • tCanvas2D.hpp

    r45 r47  
    573573 
    574574#ifdef _LIB_RRLIB_RTTI_PRESENT_ 
    575 extern template class rrlib::rtti::detail::tDataTypeInfo<rrlib::canvas::tCanvas2D>; 
    576 extern template class rrlib::rtti::detail::tDataTypeInfo<std::vector<rrlib::canvas::tCanvas2D>>; 
     575extern template struct rrlib::rtti::detail::tDataTypeInfo<rrlib::canvas::tCanvas2D>; 
     576extern template struct rrlib::rtti::detail::tDataTypeInfo<std::vector<rrlib::canvas::tCanvas2D>>; 
    577577#endif 
  • tCanvas3D.hpp

    r45 r47  
    653653 
    654654#ifdef _LIB_RRLIB_RTTI_PRESENT_ 
    655 extern template class rrlib::rtti::detail::tDataTypeInfo<rrlib::canvas::tCanvas2D>; 
    656 extern template class rrlib::rtti::detail::tDataTypeInfo<std::vector<rrlib::canvas::tCanvas2D>>; 
     655extern template struct rrlib::rtti::detail::tDataTypeInfo<rrlib::canvas::tCanvas2D>; 
     656extern template struct rrlib::rtti::detail::tDataTypeInfo<std::vector<rrlib::canvas::tCanvas2D>>; 
    657657#endif 
Note: See TracChangeset for help on using the changeset viewer.