TEOFException must publicly inherit TTransportException

Reviewed By: boz

Test Plan: Queuemap


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665105 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/transport/TFileTransport.h b/lib/cpp/src/transport/TFileTransport.h
index 24c0c66..03b0cf3 100644
--- a/lib/cpp/src/transport/TFileTransport.h
+++ b/lib/cpp/src/transport/TFileTransport.h
@@ -362,7 +362,7 @@
 };
 
 // Exception thrown when EOF is hit
- class TEOFException : TTransportException {
+class TEOFException : public TTransportException {
  public:
   TEOFException():
     TTransportException(TTransportException::END_OF_FILE) {};