Commit d64c8b92 authored by hybrid's avatar hybrid

Remove virtual from irrString. Probably no one derives from irrString, but...

Remove virtual from irrString. Probably no one derives from irrString, but this saves some bytes and cycles.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2730 dfc29bdd-3216-0410-991c-e03cc46cb475
parent eaba16db
...@@ -124,8 +124,7 @@ public: ...@@ -124,8 +124,7 @@ public:
// temporary buffer for 16 numbers // temporary buffer for 16 numbers
c8 tmpbuf[16]; c8 tmpbuf[16]={0};
tmpbuf[15] = 0;
u32 idx = 15; u32 idx = 15;
// special case '0' // special case '0'
...@@ -164,8 +163,7 @@ public: ...@@ -164,8 +163,7 @@ public:
{ {
// temporary buffer for 16 numbers // temporary buffer for 16 numbers
c8 tmpbuf[16]; c8 tmpbuf[16]={0};
tmpbuf[15] = 0;
u32 idx = 15; u32 idx = 15;
// special case '0' // special case '0'
...@@ -222,7 +220,7 @@ public: ...@@ -222,7 +220,7 @@ public:
//! Destructor //! Destructor
virtual ~string() ~string()
{ {
allocator.deallocate(array); // delete [] array; allocator.deallocate(array); // delete [] array;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment