Branimir Karadžić 9 ani în urmă
părinte
comite
600cdcb279
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      include/bx/crtimpl.h

+ 4 - 4
include/bx/crtimpl.h

@@ -212,7 +212,7 @@ namespace bx
 			BX_CHECK(NULL == m_file, "Process not closed!");
 			BX_CHECK(NULL == m_file, "Process not closed!");
 		}
 		}
 
 
-		bool open(const char* _command, Error* _err) BX_OVERRIDE
+		virtual bool open(const char* _command, Error* _err) BX_OVERRIDE
 		{
 		{
 			BX_CHECK(NULL != _err, "Reader/Writer interface calling functions must handle errors.");
 			BX_CHECK(NULL != _err, "Reader/Writer interface calling functions must handle errors.");
 
 
@@ -226,7 +226,7 @@ namespace bx
 			return true;
 			return true;
 		}
 		}
 
 
-		void close() BX_OVERRIDE
+		virtual void close() BX_OVERRIDE
 		{
 		{
 			BX_CHECK(NULL != m_file, "Process not open!");
 			BX_CHECK(NULL != m_file, "Process not open!");
 			pclose(m_file);
 			pclose(m_file);
@@ -263,7 +263,7 @@ namespace bx
 			BX_CHECK(NULL == m_file, "Process not closed!");
 			BX_CHECK(NULL == m_file, "Process not closed!");
 		}
 		}
 
 
-		bool open(const char* _command, bool, Error* _err) BX_OVERRIDE
+		virtual bool open(const char* _command, bool, Error* _err) BX_OVERRIDE
 		{
 		{
 			BX_CHECK(NULL != _err, "Reader/Writer interface calling functions must handle errors.");
 			BX_CHECK(NULL != _err, "Reader/Writer interface calling functions must handle errors.");
 
 
@@ -277,7 +277,7 @@ namespace bx
 			return true;
 			return true;
 		}
 		}
 
 
-		void close() BX_OVERRIDE
+		virtual void close() BX_OVERRIDE
 		{
 		{
 			BX_CHECK(NULL != m_file, "Process not open!");
 			BX_CHECK(NULL != m_file, "Process not open!");
 			pclose(m_file);
 			pclose(m_file);