(rx) Include types.h first

Summary: We need to do forward declarations first, and types.h already does declarations, so just make sure it gets included first in each file.

Test Plan:
tests

Reviewed By: davejwatson@fb.com

Subscribers: trunkagent, fugalh, exa, folly-diffs@, jsedgwick, yfeldblum

FB internal diff: D1861040

Tasks: 6258585

Signature: t1:1861040:1428604059:de6393e3c87e0694a6b04ad6d440cc9635a1008d
This commit is contained in:
Hans Fugal
2015-04-27 16:38:28 -07:00
committed by Alecs King
parent 99c5977028
commit a01ba2448a
4 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -16,9 +16,9 @@
#pragma once
#include <folly/wangle/rx/types.h> // must come first
#include <folly/wangle/rx/Subject.h>
#include <folly/wangle/rx/Subscription.h>
#include <folly/wangle/rx/types.h>
#include <folly/RWSpinLock.h>
#include <folly/SmallLocks.h>
+1 -1
View File
@@ -16,7 +16,7 @@
#pragma once
#include <folly/wangle/rx/types.h>
#include <folly/wangle/rx/types.h> // must come first
#include <functional>
#include <memory>
#include <stdexcept>
+1
View File
@@ -16,6 +16,7 @@
#pragma once
#include <folly/wangle/rx/types.h> // must come first
#include <folly/wangle/rx/Observable.h>
#include <folly/wangle/rx/Observer.h>
+1
View File
@@ -16,6 +16,7 @@
#pragma once
#include <folly/wangle/rx/types.h> // must come first
#include <folly/wangle/rx/Observable.h>
namespace folly { namespace wangle {