Commit 07c1d664 authored by LAMBERT Jean-charles's avatar LAMBERT Jean-charles

comment out extern template statements

parent 65aed0ce
......@@ -27,10 +27,10 @@
namespace uns {
// C++11
extern template class CSnapshotGadgetIn<float>;
//extern template class CSnapshotGadgetIn<float>;
template class CSnapshotGadgetIn<float>;
extern template class CSnapshotGadgetIn<double>;
//extern template class CSnapshotGadgetIn<double>;
template class CSnapshotGadgetIn<double>;
// ----------------------------------------------------------------------------
// READING constructor
......@@ -1474,10 +1474,10 @@ void CSnapshotGadgetIn<T>::storeComponents()
//
// ----------------------------------------------------------------------------
// C++11
extern template class CSnapshotGadgetOut<float>;
//extern template class CSnapshotGadgetOut<float>;
template class CSnapshotGadgetOut<float>;
extern template class CSnapshotGadgetOut<double>;
//extern template class CSnapshotGadgetOut<double>;
template class CSnapshotGadgetOut<double>;
// ----------------------------------------------------------------------------
// WRITING constructor
......
......@@ -21,16 +21,16 @@
namespace uns {
// C++11
extern template class CSnapshotGadgetH5In<float>;
//extern template class CSnapshotGadgetH5In<float>;
template class CSnapshotGadgetH5In<float>;
extern template class CSnapshotGadgetH5In<double>;
//extern template class CSnapshotGadgetH5In<double>;
template class CSnapshotGadgetH5In<double>;
extern template class GH5<float>;
//extern template class GH5<float>;
template class GH5<float>;
extern template class GH5<double>;
//extern template class GH5<double>;
template class GH5<double>;
// ----------------------------------------------------------------------------
......
......@@ -28,17 +28,17 @@
namespace uns {
// C++11
extern template class CSnapshotInterfaceIn<float>;
//extern template class CSnapshotInterfaceIn<float>;
template class CSnapshotInterfaceIn<float>;
extern template class CSnapshotInterfaceIn<double>;
//extern template class CSnapshotInterfaceIn<double>;
template class CSnapshotInterfaceIn<double>;
// C++11
extern template class CSnapshotInterfaceOut<float>;
//extern template class CSnapshotInterfaceOut<float>;
template class CSnapshotInterfaceOut<float>;
extern template class CSnapshotInterfaceOut<double>;
//extern template class CSnapshotInterfaceOut<double>;
template class CSnapshotInterfaceOut<double>;
// ============================================================================
......
......@@ -22,10 +22,10 @@
namespace uns {
// C++11
extern template class CSnapshotList<float>;
//extern template class CSnapshotList<float>;
template class CSnapshotList<float>;
extern template class CSnapshotList<double>;
//extern template class CSnapshotList<double>;
template class CSnapshotList<double>;
......
......@@ -28,9 +28,9 @@
namespace uns {
// C++11
extern template class CSnapshotNemoIn<float>;
//extern template class CSnapshotNemoIn<float>;
template class CSnapshotNemoIn<float>;
extern template class CSnapshotNemoIn<double>;
//extern template class CSnapshotNemoIn<double>;
template class CSnapshotNemoIn<double>;
// ============================================================================
......@@ -582,9 +582,9 @@ template <class T> bool CSnapshotNemoIn<T>::getData(const std::string name, int
// CSnapshotNemoOut CLASS implementation
//
// C++11
extern template class CSnapshotNemoOut<float>;
//extern template class CSnapshotNemoOut<float>;
template class CSnapshotNemoOut<float>;
extern template class CSnapshotNemoOut<double>;
//extern template class CSnapshotNemoOut<double>;
template class CSnapshotNemoOut<double>;
......
......@@ -22,10 +22,10 @@
namespace uns {
// C++11
extern template class CSnapshotRamsesIn<float>;
//extern template class CSnapshotRamsesIn<float>;
template class CSnapshotRamsesIn<float>;
extern template class CSnapshotRamsesIn<double>;
//extern template class CSnapshotRamsesIn<double>;
template class CSnapshotRamsesIn<double>;
// ============================================================================
......
......@@ -39,9 +39,9 @@ template <class T> std::string uns::CSnapshotInterfaceIn<T>::eps_db_file="/pil/
// SQLITE database
// C++11
extern template class CSnapshotSimIn<float>;
//extern template class CSnapshotSimIn<float>;
template class CSnapshotSimIn<float>;
extern template class CSnapshotSimIn<double>;
//extern template class CSnapshotSimIn<double>;
template class CSnapshotSimIn<double>;
// ----------------------------------------------------------------------------
......
......@@ -34,10 +34,10 @@ template <class T> std::map<std::string, StringData> CunsOut2<T>::s_mapStringVal
template <class T> std::map<std::string, int> CunsIn2<T>::s_mapCompInt;
// C++11
extern template class CunsIn2<float>;
//extern template class CunsIn2<float>;
template class CunsIn2<float>;
extern template class CunsIn2<double>;
//extern template class CunsIn2<double>;
template class CunsIn2<double>;
// ----------------------------------------------------------------------------
// READING OPERATIONS
......@@ -272,10 +272,10 @@ template <class T> bool CunsIn2<T>::getData(const std::string prop,int * ivalue
// WRITING OPERATIONS
// ---------------------------------------------------------------------------
// C++11
extern template class CunsOut2<float>;
//extern template class CunsOut2<float>;
template class CunsOut2<float>;
extern template class CunsOut2<double>;
//extern template class CunsOut2<double>;
template class CunsOut2<double>;
// ---------------------------------------------------------------------------
// constructor
......
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