• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ Compile error 1.3

Zombiegod

Active Member
Joined
Oct 22, 2009
Messages
198
Solutions
1
Reaction score
25
so when i attempt to compile i am getting

C++:
'spellBlock_t::spellBlock_t(const spellBlock_t &)': attempting to reference a deleted function

The bit of code that is causing it is


C++:
if (root) {
            for (pugi::xml_node tmpNode = root.first_child(); tmpNode; tmpNode = tmpNode.next_sibling())
            {
                spellBlock_t sb;
                if (g_monsters.deserializeSpell(tmpNode, sb, "doCreateCustomMonster")) {
                    pobranyTyp->info.attackSpells.push_back(sb);
                }
            }
i have tried changing it, but w/e i try does not work i get "undefined" ect.
 
Back
Top