I think this has something to do with the fact that I'm returning a const reference to an object that this function is treating as const.
I think you're smoking crack if you made that connection with the given error. The problem is your syntax in calling size() and at(). Tell me, what is symbol_data.vector
?