[CXX-989] Simplify bsoncxx::document::value::release() Created: 10/Aug/16 Updated: 19/Sep/16 Resolved: 18/Aug/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Implementation |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.2 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | David Golden |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The current code creates and returns a temporary and has a superfluous release call. It can be simplified to:
|
| Comments |
| Comment by Githook User [ 18/Aug/16 ] |
|
Author: {u'username': u'xdg', u'name': u'David Golden', u'email': u'xdg@xdg.me'}Message: |
| Comment by David Golden [ 11/Aug/16 ] |