mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-10-02 15:15:25 +00:00
Minor fix to two accessors so they return refs vs. copies.
This commit is contained in:
@@ -264,8 +264,8 @@ namespace basist
|
||||
}
|
||||
|
||||
const basisu::uint8_vec &get_code_sizes() const { return m_code_sizes; }
|
||||
const basisu::int_vec get_lookup() const { return m_lookup; }
|
||||
const basisu::int16_vec get_tree() const { return m_tree; }
|
||||
const basisu::int_vec &get_lookup() const { return m_lookup; }
|
||||
const basisu::int16_vec &get_tree() const { return m_tree; }
|
||||
|
||||
bool is_valid() const { return m_code_sizes.size() > 0; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user