Remove now-useless FOLLY_MALLOC_H_
authorNicholas Ormrod <njormrod@fb.com>
Fri, 26 Aug 2016 18:41:38 +0000 (11:41 -0700)
committerFacebook Github Bot 4 <facebook-github-bot-4-bot@fb.com>
Fri, 26 Aug 2016 18:53:35 +0000 (11:53 -0700)
commita4430933e960ec0fc180af83267dd27664f28d53
treeb949f2fcadd48afbd5a9a7d9f2119e5035206ad7
parent1bc610c2c678569cee1339db20fa97fc35ad6f92
Remove now-useless FOLLY_MALLOC_H_

Summary:
Malloc.h is intentionally included multiple times, once from folly and once from libstdc++. The current ###pragma once## implicitly allows this to happen. FBString.h has an undef for Malloc.h's include guard, which originally accomplished this goal.

The undefing code is presently moot, since its functionality has been replaced by ###pragma once##. Remove it.

I noticed this when ott was copying FBString over to libstdc++ in D3757853.
The diff that switched the include guards to pragmas was a codemod, and was not specific to fbstring. D3054492

Reviewed By: ot

Differential Revision: D3758119

fbshipit-source-id: e796d039a031d5f842ed39bf55a6b1aeb2686bc4
folly/FBString.h
folly/Malloc.h