Remove superfluous #ifdef. ::string resolves to std::string on PLATFORM_GOOGLE.

PiperOrigin-RevId: 241835182
This commit is contained in:
Dero Gharibian 2019-04-03 17:02:11 -07:00 committed by TensorFlower Gardener
parent 92b4656a72
commit 12018f73fc

View File

@ -33,14 +33,8 @@ limitations under the License.
namespace tensorflow {
// Define tensorflow::string to refer to appropriate platform specific type.
// TODO(josh11b): Move this into the platform/*/integral_types.h files
// above, and rename them platform/*/types.h.
#if defined(PLATFORM_GOOGLE)
using ::string;
#else
// Alias tensorflow::string to std::string.
using std::string;
#endif
static const uint8 kuint8max = ((uint8)0xFF);
static const uint16 kuint16max = ((uint16)0xFFFF);