Преглед на файлове

Fix: removed 'virtual' for classes which doesn't have child.

bank преди 11 години
родител
ревизия
b0fcc91058
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      Engine/source/console/telnetDebugger.h
  2. 2 2
      Engine/source/ts/tsShapeInstance.h

+ 1 - 1
Engine/source/console/telnetDebugger.h

@@ -127,7 +127,7 @@ public:
 
 
    void breakProcess();
    void breakProcess();
 
 
-   virtual void executionStopped(CodeBlock *code, U32 lineNumber);
+   void executionStopped(CodeBlock *code, U32 lineNumber);
    void send(const char *s);
    void send(const char *s);
    void setDebugParameters(S32 port, const char *password, bool waitForClient);
    void setDebugParameters(S32 port, const char *password, bool waitForClient);
    void processConsoleLine(const char *consoleLine);
    void processConsoleLine(const char *consoleLine);

+ 2 - 2
Engine/source/ts/tsShapeInstance.h

@@ -485,8 +485,8 @@ protected:
 
 
    /// @}
    /// @}
 
 
-   virtual void render( const TSRenderState &rdata );
-   virtual void render( const TSRenderState &rdata, S32 dl, F32 intraDL = 0.0f );
+   void render( const TSRenderState &rdata );
+   void render( const TSRenderState &rdata, S32 dl, F32 intraDL = 0.0f );
 
 
    void animate() { animate( mCurrentDetailLevel ); }
    void animate() { animate( mCurrentDetailLevel ); }
    void animate(S32 dl);
    void animate(S32 dl);