Skip to content

Commit c3ded0d

Browse files
committed
s
1 parent 99e983e commit c3ded0d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

simplecpp.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ namespace simplecpp {
8282
class constness_ptr
8383
{
8484
public:
85-
explicit constness_ptr(T* p)
85+
#ifndef _MSC_VER
86+
explicit
87+
#endif
88+
constness_ptr(T* p)
8689
: mPtr(p)
8790
{}
8891

0 commit comments

Comments
 (0)