Code Cleanup
- Removed non-STL Nibbler method, which makes way for a future optimization in the form of a non-copying Nibbler.
This commit is contained in:
@@ -49,14 +49,6 @@ Nibbler::Nibbler ()
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
Nibbler::Nibbler (const char* input)
|
|
||||||
: _input (input)
|
|
||||||
, _length (strlen (input))
|
|
||||||
, _cursor (0)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Nibbler::Nibbler (const std::string& input)
|
Nibbler::Nibbler (const std::string& input)
|
||||||
: _input (input)
|
: _input (input)
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ class Nibbler
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Nibbler (); // Default constructor
|
Nibbler (); // Default constructor
|
||||||
Nibbler (const char*); // Constructor
|
|
||||||
Nibbler (const std::string&); // Constructor
|
Nibbler (const std::string&); // Constructor
|
||||||
Nibbler (const Nibbler&); // Copy constructor
|
Nibbler (const Nibbler&); // Copy constructor
|
||||||
Nibbler& operator= (const Nibbler&); // Assignment operator
|
Nibbler& operator= (const Nibbler&); // Assignment operator
|
||||||
|
|||||||
Reference in New Issue
Block a user