This repository has been archived by the owner on Oct 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solver::Options uses shared_ptr to handle ownership.
Solver::Options::linear_solver_ordering and Solver::Options::inner_iteration_ordering were bare pointers even though Solver::Options took ownership of these objects. This lead to buggy user code and the inability to copy Solver::Options objects around. With this change, these naked pointers have been replaced by a shared_ptr object which will managed the lifetime of these objects. This also leads to simplification of the lifetime handling of these objects inside the solver. The Android.mk and Application.mk files have also been updated to use a newer NDK revision which ships with LLVM's libc++. Change-Id: I25161fb3ddf737be0b3e5dfd8e7a0039b22548cd
- Loading branch information
1 parent
8e09913
commit bb05be3
Showing
10 changed files
with
145 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.