diff --git a/Frameworks/OakTextView/src/OakTextView.h b/Frameworks/OakTextView/src/OakTextView.h index 70fc428d..62246757 100644 --- a/Frameworks/OakTextView/src/OakTextView.h +++ b/Frameworks/OakTextView/src/OakTextView.h @@ -30,7 +30,7 @@ enum OTVFontSmoothing : NSUInteger - (std::map)variables; @end -PUBLIC @interface OakTextView : OakView +PUBLIC @interface OakTextView : OakView - (void)setDocument:(document::document_ptr const&)aDocument; #if !defined(MAC_OS_X_VERSION_10_7) || (MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_7) diff --git a/Frameworks/OakTextView/src/OakTextView.mm b/Frameworks/OakTextView/src/OakTextView.mm index 42b339ce..70c21f04 100644 --- a/Frameworks/OakTextView/src/OakTextView.mm +++ b/Frameworks/OakTextView/src/OakTextView.mm @@ -229,7 +229,7 @@ struct buffer_refresh_callback_t; typedef indexed_map_t links_t; typedef std::shared_ptr links_ptr; -@interface OakTextView () +@interface OakTextView () { OBJC_WATCH_LEAKS(OakTextView);