Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Root: Move analyze_board_xml() implementation to cpp file
メンバー関数の中で呼び出しているテンプレート関数はインスタンス化が 必要だが利用可能な定義がないとclangに警告されたためメンバー関数を class定義の外に移動します。 clang 17のレポート ``` ../src/dbtree/root.h:186:36: warning: instantiation of function 'DBTREE::Root::slot_analyze_board_xml<DBTREE::Root>' required here, but no definition is available [-Wundefined-func-template] 186 | void analyze_board_xml() { slot_analyze_board_xml( *this ); } | ^ ../src/dbtree/root.h:175:14: note: forward declaration of template entity is here 175 | void slot_analyze_board_xml( T& bbsmenu ); | ^ ../src/dbtree/root.h:186:36: note: add an explicit instantiation declaration to suppress this warning if 'DBTREE::Root::slot_analyze_board_xml<DBTREE::Root>' is explicitly instantiated in another translation unit 186 | void analyze_board_xml() { slot_analyze_board_xml( *this ); } | ^ ```
- Loading branch information