Commit 16b4205c authored by Hamilton, Steven P's avatar Hamilton, Steven P
Browse files

Reworking templated code to address clang warning.

parent d297566b
......@@ -127,7 +127,7 @@ SET(DRIVER_SOURCES
mc_driver/Manager.pt.cc
mc_driver/Manager_Builder.cc
mc_driver/Problem_Builder.pt.cc
mc_driver/Geometry_Builder.pt.cc
mc_driver/Geometry_Builder.cc
)
LIST(APPEND HEADERS ${DRIVER_HEADERS})
LIST(APPEND SOURCES ${DRIVER_SOURCES})
......
//----------------------------------*-C++-*----------------------------------//
/*!
* \file mc_driver/Geometry_Builder.t.hh
* \file mc_driver/Geometry_Builder.cc
* \author Steven Hamilton
* \date Wed Nov 25 12:58:58 2015
* \brief Geometry_Builder template member definitions.
......@@ -8,9 +8,6 @@
*/
//---------------------------------------------------------------------------//
#ifndef mc_driver_Geometry_Builder_t_hh
#define mc_driver_Geometry_Builder_t_hh
#include "Geometry_Builder.hh"
namespace mc
......@@ -324,8 +321,6 @@ auto Geometry_Builder<profugus::Mesh_Geometry>::build(
} // end namespace mc
#endif // mc_driver_Geometry_Builder_t_hh
//---------------------------------------------------------------------------//
// end of Geometry_Builder.t.hh
// end of Geometry_Builder.cc
//---------------------------------------------------------------------------//
//----------------------------------*-C++-*----------------------------------//
/*!
* \file mc_driver/Geometry_Builder.pt.cc
* \author Steven Hamilton
* \date Wed Nov 25 12:58:58 2015
* \brief Geometry_Builder member definitions.
* \note Copyright (C) 2015 Oak Ridge National Laboratory, UT-Battelle, LLC.
*/
//---------------------------------------------------------------------------//
#include "Geometry_Builder.t.hh"
#include "geometry/RTK_Geometry.hh"
#include "geometry/Mesh_Geometry.hh"
namespace mc
{
template class Geometry_Builder<profugus::Core>;
template class Geometry_Builder<profugus::Mesh_Geometry>;
} // end namespace mc
//---------------------------------------------------------------------------//
// end of Geometry_Builder.pt.cc
//---------------------------------------------------------------------------//
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment