diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1afaac1..86c1add 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,7 +28,7 @@ include_directories(
if(UNIX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -pedantic -O3" )
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -Wno-reorder -pedantic -O3" )
else()
add_definitions(
-D_CRT_SECURE_NO_WARNINGS
diff --git a/include/profiler/profiler.h b/include/profiler/profiler.h
index 76b9669..d2507ef 100644
--- a/include/profiler/profiler.h
+++ b/include/profiler/profiler.h
@@ -300,16 +300,16 @@ namespace profiler
inline const char* getName() const { return name; }
};
- class PROFILER_API SerilizedBlock
+ class PROFILER_API SerializedBlock
{
uint16_t m_size;
char* m_data;
public:
- SerilizedBlock(profiler::Block* block);
- SerilizedBlock(uint16_t _size, char* _data);
- SerilizedBlock(SerilizedBlock&& that);
- SerilizedBlock(const SerilizedBlock& other);
- ~SerilizedBlock();
+ SerializedBlock(profiler::Block* block);
+ SerializedBlock(uint16_t _size, char* _data);
+ SerializedBlock(SerializedBlock&& that);
+ SerializedBlock(const SerializedBlock& other);
+ ~SerializedBlock();
const char* const data() const { return m_data; }
uint16_t size() const { return m_size; }
diff --git a/include/profiler/reader.h b/include/profiler/reader.h
index 9375f3e..f59b0a7 100644
--- a/include/profiler/reader.h
+++ b/include/profiler/reader.h
@@ -14,78 +14,78 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.If not, see .
-**/
-
-#ifndef PROFILER_READER____H
-#define PROFILER_READER____H
-
-/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-
-#include
-#include