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)
commitb0ae2c1f8ecaf3343f706afb3f252efcad099041
tree04bcfce7678acb5aa29efeec4b12eaea344d9f87
parent046039e25f1219efc989f4b906285a806907824a
vector: refactor code to remove a global instance.

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