forked from vayerx/shadowgrounds
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
editor: fixed compilation, but crashes on start up
boost::scoped_ptr<ParserData> data; in EditorParser would halt compilation because it is non-copyable
- Loading branch information
Showing
10 changed files
with
33 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ | |
#ifndef INCLUDED_EDITOR_EDITOR_PARSER | ||
#define INCLUDED_EDITOR_EDITOR_PARSER | ||
|
||
#ifndef INCLUDED_BOOST_SHARED_PTR_HPP | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
JanSimek
Author
Owner
|
||
# define INCLUDED_BOOST_SHARED_PTR_HPP | ||
# include <boost/shared_ptr.hpp> | ||
#endif | ||
#ifndef INCLUDED_BOOST_SCOPED_PTR_HPP | ||
# define INCLUDED_BOOST_SCOPED_PTR_HPP | ||
# include <boost/scoped_ptr.hpp> | ||
|
@@ -27,7 +31,7 @@ namespace frozenbyte { | |
struct ParserData; | ||
|
||
class ParserGroup { | ||
boost::scoped_ptr<ParserGroupData> data; | ||
/*boost::scoped_ptr*/ boost::shared_ptr<ParserGroupData> data; | ||
|
||
public: | ||
ParserGroup(); | ||
|
@@ -74,7 +78,7 @@ namespace frozenbyte { | |
} | ||
|
||
class EditorParser { | ||
boost::scoped_ptr<ParserData> data; | ||
/*boost::scoped_ptr*/ boost::shared_ptr<ParserData> data; | ||
|
||
public: | ||
// the new error whine to get rid of the f*ed up "silently ignore errors" feature. --jpk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OMG! Lets delete this 'code' forever!