Petr Mrázek 2012-03-26 16:13:36 +02:00
commit 047ccdf43a
2 changed files with 4 additions and 1 deletions

@ -65,7 +65,10 @@ void *type_identity::allocate() {
bool type_identity::copy(void *tgt, const void *src) {
if (can_allocate() && tgt && src)
{
do_copy(tgt, src);
return true;
}
else
return false;
}

@ -40,7 +40,7 @@ namespace df
namespace DFHack
{
class MaterialInfo;
struct MaterialInfo;
using google::protobuf::RepeatedField;
using google::protobuf::RepeatedPtrField;