Skip to content
Snippets Groups Projects
Commit 0fd61184 authored by williamfgc's avatar williamfgc Committed by William F. Godoy
Browse files

Corrected bugs and clang-format issues

Updated adiosFunctions.cpp
Corrected warnings, missing return and signature in ResizeBuffer
parent 9081c673
No related branches found
No related tags found
1 merge request!83Bpthreads
......@@ -9,25 +9,23 @@
*/
#include "adiosFunctions.h"
/// \cond EXCLUDE_FROM_DOXYGEN
#include <sys/stat.h> //stat
#include <sys/types.h> //CreateDirectory
#include <unistd.h> //CreateDirectory
#include <cmath> // std::ceil, std::pow, std::log
#include <cstring> //std::memcpy
#include <algorithm> //std::count
#include <cmath> // std::ceil, std::pow, std::log
#include <cstring> //std::memcpy
#include <fstream>
#include <ios> //std::ios_base::failure
#include <sstream>
#include <stdexcept>
#include <thread> //std::thread
/// \endcond
#include "adios2/ADIOSTypes.h"
#include "adios2/ADIOSMPI.h"
#include "adios2/ADIOSTypes.h"
#include "adios2/core/Support.h"
#ifdef ADIOS2_HAVE_BZIP2
......
......@@ -10,10 +10,8 @@
#include "BP1Base.h"
#include "adios2/core/adiosFunctions.h" //CreateDirectory
namespace adios
{
namespace format
......
......@@ -277,7 +277,7 @@ private:
#define declare_template_instantiation(T) \
extern template BP1Writer::ResizeResult BP1Writer::ResizeBuffer( \
const Variable<T> &variable) noexcept; \
const Variable<T> &variable); \
\
extern template void BP1Writer::WriteVariablePayload( \
const Variable<T> &variable) noexcept; \
......
......@@ -33,6 +33,8 @@ BP1Writer::ResizeResult BP1Writer::ResizeBuffer(const Variable<T> &variable)
return ResizeResult::FLUSH;
}
}
return ResizeResult::SUCCESS;
}
template <class T>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment