aboutsummaryrefslogtreecommitdiff
path: root/scripts/parameter_validation_generator.py
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2017-06-21 08:17:00 -0600
committerTobin Ehlis <tobine@google.com>2017-06-21 10:51:36 -0600
commitff80053c0c90187d4136b5882908ae19681e90e7 (patch)
treea55c40151a44fee8dcb15a0dd05576a1b51b6b5b /scripts/parameter_validation_generator.py
parentc5366f2743146b95dc23c26d7acba9e7fbe393b3 (diff)
downloadusermoji-ff80053c0c90187d4136b5882908ae19681e90e7.tar.xz
layers:Use make_shared for share_ptr creation
std::make_shared is more efficient for shared_ptr creation, using a single heap allocation for both the object and control logic, vs. two separate allocations of using "new" w/ shared_ptr constructor.
Diffstat (limited to 'scripts/parameter_validation_generator.py')
0 files changed, 0 insertions, 0 deletions