diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-24 00:04:07 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-24 00:08:13 -0500 |
commit | b0df09335cce3f4a2c49bf27d23de85a3c0113dc (patch) | |
tree | 9037a23f6d64e59d1fece95ffedf58349eba5ef1 /src/core/gdbstub/gdbstub.cpp | |
parent | f7a1827aaa384863c1a2bdff13a322aa9d89dfd2 (diff) |
service/sm: Take std::string by const reference in UnregisterService
Avoids the need to create a copy of the std::string instance
(potentially allocating).
The only reason RegisterService takes its argument by value is because
it's std::moved internally.
Diffstat (limited to 'src/core/gdbstub/gdbstub.cpp')
0 files changed, 0 insertions, 0 deletions