Use std::cerr for folly/Singleton.cpp error printing
authorPhil Willoughby <philwill@fb.com>
Thu, 10 Nov 2016 12:09:21 +0000 (04:09 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Thu, 10 Nov 2016 12:23:37 +0000 (04:23 -0800)
commita500df075cf4bec7eaf604b3d85ff597ab5f5f0e
tree2c11476ba809e0bfff02ccc2a0e3dcf92301b3f2
parent0416e1ea440f816d5543feb5e834f09906ddfcab
Use std::cerr for folly/Singleton.cpp error printing

Summary:
Create a local std::ios_base::Init instance to ensure that it is valid, then
use std::cerr.

Reviewed By: yfeldblum, nbronson

Differential Revision: D4139681

fbshipit-source-id: 03377dd417710e320a6b53298d507fd0168592f6
folly/Singleton.cpp