Skip to content

Commit

Permalink
Fixed|Block: Crash when move-constructing a Block
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 7e5285b commit 2eeaf20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions doomsday/libs/core/include/de/libcore.h
Expand Up @@ -127,12 +127,6 @@
# define DE_NORETURN __attribute__((__noreturn__))
#endif

#if defined (DE_IOS)
# define DE_VISIBLE_SYMBOL __attribute__((visibility("default")))
#else
# define DE_VISIBLE_SYMBOL
#endif

#if defined (DE_ASSERT)
# undef DE_ASSERT
#endif
Expand Down
2 changes: 1 addition & 1 deletion doomsday/libs/core/src/data/block.cpp
Expand Up @@ -51,7 +51,7 @@ Block::Block(const Block &other)

Block::Block(Block &&moved)
{
set_Block(&_block, &moved._block);
initCopy_Block(&_block, &moved._block);
}

Block::Block(const char *nullTerminatedCStr)
Expand Down

0 comments on commit 2eeaf20

Please sign in to comment.