Can you move these includes above the system includes like <cassert>. It's best to do one kind of include, then the other. There's some debate about the order, but I think the agreed upon solution is local includes first, system includes second.