- Change the object ownership semantics to take ownership of unique_ptr's rather than references
- Add helper functions for setting up config - Add support for dynamically updating more config options (path related ones in particular)
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
#include <algorithm> // std::shuffle
|
||||
#include <random> // std::default_random_engine
|
||||
|
||||
ImageSelector::ImageSelector(std::unique_ptr<PathTraverser>& pathTraverser):
|
||||
pathTraverser(pathTraverser)
|
||||
ImageSelector::ImageSelector(std::unique_ptr<PathTraverser>& pathTraverserIn):
|
||||
pathTraverser(std::move(pathTraverserIn))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user