On Fri, Dec 7, 2012 at 12:57 AM, John Scipione <jscipione@xxxxxxxxx> wrote: > On Thu, Dec 6, 2012 at 10:12 PM, Ingo Weinhold <ingo_weinhold@xxxxxx> wrote: >> I wonder what the purpose of the ugly const_cast<>() is. The "schemes" >> variable doesn't seem to be dereferenced in a way that would compromise >> constness. > > src/apps/terminal/AppearPrefView.cpp:397: initialization to > `color_scheme **' from `const color_scheme **' discards qualifiers I spoke too soon, I declared color_scheme const and then elided the cast and it compiled fine... nice catch.