vector: refactor code to remove a global instance.
authorHermet Park <hermetpark@gmail.com>
Mon, 16 Sep 2019 11:05:55 +0000 (20:05 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 22 Sep 2019 21:53:42 +0000 (06:53 +0900)
This kind of global static instance is really dangerous in c++ because
We have no idea when the instance will be initalization exactly.

This might interrupt the program sequence, more worsely, it could break the program
while That breakage is totally up to the member instances of the class.

Very poor design.

Change-Id: I8ca788bad2fe2e90f9cd5449b84b1ed15c043f1e


No differences found