Shipping heavy objects in std::shared_ptr

This commit is contained in:
Sergey Naumov
2016-04-24 10:33:19 +03:00
parent 2962a3cc7a
commit 19f9acb482
3 changed files with 33 additions and 33 deletions

View File

@@ -182,13 +182,13 @@ public:
* Request a list of workspaces
* @return List of workspaces
*/
std::vector<workspace_t> get_workspaces() const;
std::vector< std::shared_ptr<workspace_t> > get_workspaces() const;
/**
* Request a list of outputs
* @return List of outputs
*/
std::vector<output_t> get_outputs() const;
std::vector< std::shared_ptr<output_t> > get_outputs() const;
/**
* Request a version of i3