We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05bed97 commit 68771fcCopy full SHA for 68771fc
data/languages/cpp/singletreenode.h
@@ -3,7 +3,9 @@
3
4
#include "treenode.h"
5
6
-struct SingleTreeNode : public TreeNode { };
+struct SingleTreeNode : public TreeNode {
7
+ using TreeNode::TreeNode;
8
+};
9
10
static_assert(sizeof(SingleTreeNode) == sizeof(TreeNode),
11
"SingleTreeNode is not the same size as TreeNode");
0 commit comments