Fixed per-class thread safety

This commit is contained in:
Lynix
2012-05-08 08:20:57 +02:00
parent 45f3fc4e28
commit e91cde657b
44 changed files with 90 additions and 145 deletions

View File

@@ -7,14 +7,14 @@
#ifndef NAZARA_STRINGSTREAM_HPP
#define NAZARA_STRINGSTREAM_HPP
#define NAZARA_STRINGSTREAM
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Core/String.hpp>
#include <Nazara/Core/ThreadSafety.hpp>
#include <string>
#include <vector>
#define NAZARA_CLASS_STRINGSTREAM
#include <Nazara/Core/ThreadSafety.hpp>
class NAZARA_API NzStringStream
{
public:
@@ -51,6 +51,6 @@ class NAZARA_API NzStringStream
unsigned int m_bufferSize;
};
#undef NAZARA_STRINGSTREAM
#undef NAZARA_CLASS_STRINGSTREAM
#endif // NAZARA_STRINGSTREAM_HPP