-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cleanup CFRLogger Made some changes to CFRLogger so that the implementation is more consistent with the other ServiceTracker classes in CoreBundleContext.cpp (i.e ServiceHooks.cpp). Signed-off-by The MathWorks Inc. <pelliott@mathworks.com> * Fixes for unused parameter Fixes for mac platform. Unused cfrContext parameter. Signed-off-by The MathWorks, Inc. <pelliott@mathworks.com> * CFRLogger changes Create member variable for BundleContext. Remove IsOpen calls from Log methods for efficiency sake. Signed-off-by The MathWorks, Inc. <pelliott@mathworks.com> * Update CFRLogger.cpp Fix std::move error on mac platform. "error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move]" Signed-off-by The MathWorks, Inc. <pelliott@mathworks.com> * CFRLogger code review feedback Updated CFRLogger based on code review feedback. Removed unused variable in CFRLogger constructor, moved CFRLogger member variable in CoreBundleContext class so that it will be destroyed before the ServiceListeners member variable (to avoid access violation on Windows on shutdown), removed unused IsOpen method from CFRLogger. Signed-off-by The MathWorks, Inc. <pelliott@mathworks.com> * Update CoreBundleContext and CFRLogger classes Add comment to explain why member variable order in CoreBundleContext is important to maintain. Remove bOpen variable from CFRLogger class. Not used anywhere. Signed-off-by The MathWorks, Inc. <pelliott@mathworks.com>
- Loading branch information
1 parent
dce6f41
commit 9a342dc
Showing
4 changed files
with
59 additions
and
24 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