template <typename SUBRS>
struct biased_subrs_t
{
- void init (const SUBRS &subrs_)
+ void init (const SUBRS *subrs_)
{
- subrs = &subrs_;
+ subrs = subrs_;
unsigned int nSubrs = get_count ();
if (nSubrs < 1240)
bias = 107;
template <typename ARG, typename SUBRS>
struct cs_interp_env_t : interp_env_t<ARG>
{
- void init (const byte_str_t &str, const SUBRS &globalSubrs_, const SUBRS &localSubrs_)
+ void init (const byte_str_t &str, const SUBRS *globalSubrs_, const SUBRS *localSubrs_)
{
interp_env_t<ARG>::init (str);
template <typename ACC>
void init (const byte_str_t &str, ACC &acc, unsigned int fd)
{
- SUPER::init (str, *acc.globalSubrs, *acc.privateDicts[fd].localSubrs);
+ SUPER::init (str, acc.globalSubrs, acc.privateDicts[fd].localSubrs);
processed_width = false;
has_width = false;
arg_start = 0;
void init (const byte_str_t &str, ACC &acc, unsigned int fd,
const int *coords_=nullptr, unsigned int num_coords_=0)
{
- SUPER::init (str, *acc.globalSubrs, *acc.privateDicts[fd].localSubrs);
+ SUPER::init (str, acc.globalSubrs, acc.privateDicts[fd].localSubrs);
coords = coords_;
num_coords = num_coords_;