Stop double-calculation of hashes.
[dcpomatic.git] / src / lib / emailer.cc
index c7f1b9053fc2f8bc2c6298620488a2491dd47ea7..78cbfea8d3fae2fddb67e8162ae98797ecf870fe 100644 (file)
@@ -18,7 +18,6 @@
 */
 
 #include "compose.hpp"
-#include "data.h"
 #include "config.h"
 #include "emailer.h"
 #include "exceptions.h"
@@ -35,6 +34,7 @@ using std::list;
 using std::cout;
 using std::pair;
 using boost::shared_ptr;
+using dcp::Data;
 
 Emailer::Emailer (string from, list<string> to, string subject, string body)
        : _from (from)