From 50069d374377dbe1db4e0ec3eb0bc5b33828988d Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 14 Dec 2017 23:13:36 +0100 Subject: [PATCH] fixed docs --- docs/CMakeLists.txt | 11 ++++------- src/entt/entity/view.hpp | 3 +-- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 393b81fc3..e5cb40098 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -4,21 +4,18 @@ set(TARGET_DOCS docs) -set(DOXY_IN_FILE doxy.in) - -set(DOXY_SOURCE_DIRECTORY ${PROJECT_SRC_DIR}) +set(DOXY_SOURCE_DIRECTORY ${entt_SOURCE_DIR}/src) set(DOXY_DOCS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) set(DOXY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) -set(DOXY_CFG_FILE doxy.cfg) -configure_file(${DOXY_IN_FILE} ${DOXY_CFG_FILE} @ONLY) +configure_file(doxy.in doxy.cfg @ONLY) add_custom_target( ${TARGET_DOCS} - COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/${DOXY_CFG_FILE} + COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxy.cfg WORKING_DIRECTORY ${entt_SOURCE_DIR} VERBATIM - SOURCES ${DOXY_IN_FILE} + SOURCES doxy.in ) install( diff --git a/src/entt/entity/view.hpp b/src/entt/entity/view.hpp index f710e7f3f..324afa83a 100644 --- a/src/entt/entity/view.hpp +++ b/src/entt/entity/view.hpp @@ -368,8 +368,7 @@ public: /** * @brief Constructs a view out of a bunch of pools of components. - * @param pool A reference to a pool of components. - * @param other Other references to pools of components. + * @param pools References to pools of components. */ View(pool_type&... pools) noexcept : pools{pools...}, view{nullptr}