Skip to content

Commit ff8e9e3

Browse files
committed
s
1 parent 1226bf4 commit ff8e9e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

simplecpp.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ namespace simplecpp {
8181
class constness_ptr
8282
{
8383
public:
84+
constness_ptr() = default;
8485
#ifndef _MSC_VER
8586
explicit
8687
#endif
@@ -130,7 +131,7 @@ namespace simplecpp {
130131
}
131132

132133
private:
133-
T* mPtr;
134+
T* mPtr{};
134135
};
135136

136137
/**

0 commit comments

Comments
 (0)