{"comment":{"url":"https://api.github.com/repos/okamstudio/godot/comments/11554449","html_url":"https://github.com/okamstudio/godot/commit/9acab32daaea38e09c4d74d5f0340479d3dd41bd#commitcomment-11554449","id":11554449,"user":{"login":"Razzlegames","id":8754559,"avatar_url":"https://avatars.githubusercontent.com/u/8754559?v=3","gravatar_id":"","url":"https://api.github.com/users/Razzlegames","html_url":"https://github.com/Razzlegames","followers_url":"https://api.github.com/users/Razzlegames/followers","following_url":"https://api.github.com/users/Razzlegames/following{/other_user}","gists_url":"https://api.github.com/users/Razzlegames/gists{/gist_id}","starred_url":"https://api.github.com/users/Razzlegames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Razzlegames/subscriptions","organizations_url":"https://api.github.com/users/Razzlegames/orgs","repos_url":"https://api.github.com/users/Razzlegames/repos","events_url":"https://api.github.com/users/Razzlegames/events{/privacy}","received_events_url":"https://api.github.com/users/Razzlegames/received_events","type":"User","site_admin":false},"position":500,"line":855,"path":"tools/editor/editor_file_dialog.cpp","commit_id":"9acab32daaea38e09c4d74d5f0340479d3dd41bd","created_at":"2015-06-06T18:07:31Z","updated_at":"2015-06-06T18:07:31Z","body":"This breaks the build here:\r\n\r\n```\r\ntools/editor/editor_file_dialog.cpp:855:67: error: no matching function for call to 'Vector<String>::find(Variant)'\r\n   int a_idx=favorited.find(favorites->get_item_metadata(current-1));\r\n                                                                   ^\r\ntools/editor/editor_file_dialog.cpp:855:67: note: candidate is:\r\nIn file included from core/ustring.h:33:0,\r\n                 from core/math/vector3.h:35,\r\n                 from core/math/aabb.h:34,\r\n                 from core/variant.h:36,\r\n                 from core/object.h:33,\r\n                 from ./scene/main/node.h:32,\r\n                 from ./scene/gui/control.h:32,\r\n                 from ./scene/gui/range.h:32,\r\n                 from ./scene/gui/label.h:32,\r\n                 from ./scene/gui/dialogs.h:32,\r\n                 from tools/editor/editor_file_dialog.h:34,\r\n                 from tools/editor/editor_file_dialog.cpp:1:\r\ncore/vector.h:224:5: note: int Vector<T>::find(T_val&) const [with T_val = Variant; T = String]\r\n int Vector<T>::find(T_val& p_val) const {\r\n     ^\r\ncore/vector.h:224:5: note:   no known conversion for argument 1 from 'Variant' to 'Variant&'\r\ntools/editor/editor_file_dialog.cpp:856:65: error: no matching function for call to 'Vector<String>::find(Variant)'\r\n   int b_idx=favorited.find(favorites->get_item_metadata(current));\r\n                                                                 ^\r\ntools/editor/editor_file_dialog.cpp:856:65: note: candidate is:\r\nIn file included from core/ustring.h:33:0,\r\n                 from core/math/vector3.h:35,\r\n                 from core/math/aabb.h:34,\r\n                 from core/variant.h:36,\r\n                 from core/object.h:33,\r\n                 from ./scene/main/node.h:32,\r\n                 from ./scene/gui/control.h:32,\r\n                 from ./scene/gui/range.h:32,\r\n                 from ./scene/gui/label.h:32,\r\n                 from ./scene/gui/dialogs.h:32,\r\n                 from tools/editor/editor_file_dialog.h:34,\r\n                 from tools/editor/editor_file_dialog.cpp:1:\r\ncore/vector.h:224:5: note: int Vector<T>::find(T_val&) const [with T_val = Variant; T = String]\r\n int Vector<T>::find(T_val& p_val) const {\r\n     ^\r\ncore/vector.h:224:5: note:   no known conversion for argument 1 from 'Variant' to 'Variant&'\r\ntools/editor/editor_file_dialog.cpp: In member function 'void EditorFileDialog::_favorite_move_down()':\r\ntools/editor/editor_file_dialog.cpp:876:67: error: no matching function for call to 'Vector<String>::find(Variant)'\r\n   int a_idx=favorited.find(favorites->get_item_metadata(current+1));\r\n                                                                   ^\r\ntools/editor/editor_file_dialog.cpp:876:67: note: candidate is:\r\nIn file included from core/ustring.h:33:0,\r\n                 from core/math/vector3.h:35,\r\n                 from core/math/aabb.h:34,\r\n                 from core/variant.h:36,\r\n                 from core/object.h:33,\r\n                 from ./scene/main/node.h:32,\r\n                 from ./scene/gui/control.h:32,\r\n                 from ./scene/gui/range.h:32,\r\n                 from ./scene/gui/label.h:32,\r\n                 from ./scene/gui/dialogs.h:32,\r\n                 from tools/editor/editor_file_dialog.h:34,\r\n                 from tools/editor/editor_file_dialog.cpp:1:\r\ncore/vector.h:224:5: note: int Vector<T>::find(T_val&) const [with T_val = Variant; T = String]\r\n int Vector<T>::find(T_val& p_val) const {\r\n     ^\r\ncore/vector.h:224:5: note:   no known conversion for argument 1 from 'Variant' to 'Variant&'\r\ntools/editor/editor_file_dialog.cpp:877:65: error: no matching function for call to 'Vector<String>::find(Variant)'\r\n   int b_idx=favorited.find(favorites->get_item_metadata(current));\r\n                                                                 ^\r\ntools/editor/editor_file_dialog.cpp:877:65: note: candidate is:\r\nIn file included from core/ustring.h:33:0,\r\n                 from core/math/vector3.h:35,\r\n                 from core/math/aabb.h:34,\r\n                 from core/variant.h:36,\r\n                 from core/object.h:33,\r\n                 from ./scene/main/node.h:32,\r\n                 from ./scene/gui/control.h:32,\r\n                 from ./scene/gui/range.h:32,\r\n                 from ./scene/gui/label.h:32,\r\n                 from ./scene/gui/dialogs.h:32,\r\n                 from tools/editor/editor_file_dialog.h:34,\r\n                 from tools/editor/editor_file_dialog.cpp:1:\r\ncore/vector.h:224:5: note: int Vector<T>::find(T_val&) const [with T_val = Variant; T = String]\r\n int Vector<T>::find(T_val& p_val) const {\r\n     ^\r\ncore/vector.h:224:5: note:   no known conversion for argument 1 from 'Variant' to 'Variant&'\r\nscons: *** [tools/editor/editor_file_dialog.x11.tools.64.o] Error 1\r\nscons: building terminated because of errors.\r\n```"}}