commit | df6ae6c38da7913674481ed3d125f1b4a1e8b1bb | [log] [tgz] |
---|---|---|
author | Wind Yuan <feng.yuan@intel.com> | Wed Apr 15 19:51:21 2015 +0800 |
committer | Wind Yuan <feng.yuan@intel.com> | Wed Apr 15 20:36:34 2015 +0800 |
tree | 362b5416c4a6d23e368eb2a19acc21f4af7db66d | |
parent | f17e93a9c75b70d371c760ea5ee268e7977bc7ee [diff] |
smartptr: support const pointer dynamic cast const smartptr is used quite often, and dynamic_cast_ptr would failed on const objects. this fix set the function to const to make all possible pointer pass through.