Include <cassert> when using assert
authorChristopher Dykes <cdykes@fb.com>
Fri, 16 Dec 2016 01:31:48 +0000 (17:31 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 16 Dec 2016 01:33:02 +0000 (17:33 -0800)
Summary:
We were using `assert` without including anything that defines it.

Closes https://github.com/facebook/folly/issues/530

Reviewed By: yfeldblum

Differential Revision: D4337047

fbshipit-source-id: 327d19a685e7a4cc1e1eb6e471a6457fe9dee6c7

folly/detail/StaticSingletonManager.h

index 6e4b63d690068d110ae751af8649c11c497999eb..749cf452965bed0549ce7dd3dcca2a511044e983 100644 (file)
@@ -16,6 +16,7 @@
 
 #pragma once
 
+#include <cassert>
 #include <mutex>
 #include <typeindex>
 #include <unordered_map>