vector: refactor code to remove a global instance. submit/tizen/20190917.012523 submit/tizen/20190917.040942 submit/tizen/20190917.043123
authorHermet Park <hermetpark@gmail.com>
Mon, 16 Sep 2019 11:05:55 +0000 (20:05 +0900)
committerHermet Park <hermetpark@gmail.com>
Tue, 17 Sep 2019 01:24:36 +0000 (10:24 +0900)
commit73a0983ded53be282707a2f7f3d692aabcc9b1f0
tree3932664fcbe4bb3446843792e745aa2de927b398
parent9232119b11b341743b5e3bcb7e3fdc038a07a0fc
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: I9d7dd12dc72a2936be95478d26aefc982e4eeeb9
src/vector/vdrawhelper.cpp