Skip to content

Commit d998fda

Browse files
committed
Reflection: Nitpicks, NFC
1 parent 55b2b3f commit d998fda

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/swift/Reflection/ReflectionContext.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,11 @@ class ReflectionContext {
261261

262262
public:
263263

264-
ReflectionContext(std::shared_ptr<MemoryReader> Reader)
264+
explicit ReflectionContext(std::shared_ptr<MemoryReader> Reader)
265265
: Reader(Reader) {}
266266

267+
ReflectionContext(const ReflectionContext&) = delete;
268+
267269
MemoryReader &getReader() {
268270
return *Reader;
269271
}

0 commit comments

Comments
 (0)