Skip to content

Commit

Permalink
Added default constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Sep 12, 2023
1 parent addb994 commit 1e6e1e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/vsg/app/CommandGraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ namespace vsg
class VSG_DECLSPEC CommandGraph : public Inherit<Group, CommandGraph>
{
public:
CommandGraph();
CommandGraph(ref_ptr<Device> in_device, int family);
explicit CommandGraph(ref_ptr<Window> in_window, ref_ptr<Node> child = {});

Expand Down
4 changes: 4 additions & 0 deletions src/vsg/app/CommandGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI

using namespace vsg;

CommandGraph::CommandGraph()
{
}

CommandGraph::CommandGraph(ref_ptr<Device> in_device, int family) :
device(in_device),
queueFamily(family),
Expand Down

0 comments on commit 1e6e1e2

Please sign in to comment.