Created
November 6, 2013 11:52
-
-
Save mcs07/7334872 to your computer and use it in GitHub Desktop.
A patch for RDKit 2013.09.1 to compile with libc++ which is now the default in Mavericks.
This file contains hidden or 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
diff --git a/Code/RDGeneral/Dict.h b/Code/RDGeneral/Dict.h | |
index 6d368a4..6f586a8 100644 | |
--- a/Code/RDGeneral/Dict.h | |
+++ b/Code/RDGeneral/Dict.h | |
@@ -32,14 +32,12 @@ | |
//! | |
class Dict { | |
public: | |
- typedef std::map<const std::string, boost::any> DataType; | |
+ typedef std::map<std::string, boost::any> DataType; | |
Dict(){ | |
_data.clear(); | |
}; | |
- Dict(const Dict &other) { | |
- _data = other._data; | |
- }; | |
+ Dict(const Dict &other) : _data(other._data) {}; | |
Dict &operator=(const Dict &other) { | |
_data = other._data; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment