The Battle for Wesnoth  1.15.0-dev
Functions
unit_detail Namespace Reference

Functions

template<typename T >
const T & get_or_default (const std::unique_ptr< T > &v)
 

Function Documentation

◆ get_or_default()

template<typename T >
const T& unit_detail::get_or_default ( const std::unique_ptr< T > &  v)

Definition at line 36 of file unit.hpp.

Referenced by unit::image_ellipse(), unit::image_halo(), and unit::usage().