View Single Post
This (http://cpp.sh/2ks6b) reproduces the error I was getting and discussed with Fear a little on IRC. If the code I was working on that produced the error actually explicitly had const on the paramater I don't remember it. I have to look again. If you remove const here it runs fine.