diff options
| author | Tobin Ehlis <tobine@google.com> | 2017-06-21 08:17:00 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2017-06-21 10:51:36 -0600 |
| commit | ff80053c0c90187d4136b5882908ae19681e90e7 (patch) | |
| tree | a55c40151a44fee8dcb15a0dd05576a1b51b6b5b /layers/parameter_validation.cpp | |
| parent | c5366f2743146b95dc23c26d7acba9e7fbe393b3 (diff) | |
| download | usermoji-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 'layers/parameter_validation.cpp')
0 files changed, 0 insertions, 0 deletions
