SERVER-5730 Reliable notification framework

Can this function be moved into an unnamed namespace at the top of the file?