summaryrefslogtreecommitdiff
path: root/ui/uicomment.h
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2022-01-27 22:43:28 -0500
committerKyleMiles <krm504@nyu.edu>2022-01-28 00:24:06 -0500
commit6812c973c9fa9b4ad642ab81856c05f87bd6fcc4 (patch)
treedace4156d03148bcaf02df138ab4e0d93e61bc6f /ui/uicomment.h
parent519c9db22367f2659d1a54599fab47e6313be06e (diff)
Format All Files
Diffstat (limited to 'ui/uicomment.h')
-rw-r--r--ui/uicomment.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/ui/uicomment.h b/ui/uicomment.h
index 1ed71af7..d80444ec 100644
--- a/ui/uicomment.h
+++ b/ui/uicomment.h
@@ -13,7 +13,7 @@ typedef enum
class UIComment
{
-public:
+ public:
UICommentType type;
FunctionRef func;
BinaryViewRef data;
@@ -21,21 +21,13 @@ public:
QString content;
- UIComment(UICommentType type,
- FunctionRef func,
- uint64_t address,
- QString content):
- type(type), func(func),
- address(address), content(content)
+ UIComment(UICommentType type, FunctionRef func, uint64_t address, QString content) :
+ type(type), func(func), address(address), content(content)
{}
- UIComment(UICommentType type,
- BinaryViewRef data,
- uint64_t address,
- QString content):
- type(type), data(data),
- address(address), content(content)
+ UIComment(UICommentType type, BinaryViewRef data, uint64_t address, QString content) :
+ type(type), data(data), address(address), content(content)
{}