Skip to content

Commit 4eba8ad

Browse files
authored
Merge pull request #22 from kimkulling/kimkulling/rename_main_namespace
Refactoring: Renaming namespace
2 parents d2c2922 + ee4c645 commit 4eba8ad

34 files changed

+53
-54
lines changed

code/Memory/MemUtils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2222
-----------------------------------------------------------------------------------------------*/
2323
#include <cppcore/Memory/MemUtils.h>
2424

25-
namespace CPPCore {
25+
namespace cppcore {
2626

2727
void MemUtils::clearMemory( void *buffer, size_t size ) {
2828
::memset( buffer, 0, size );
2929
}
3030

31-
} // Namespace CPPCore
31+
} // Namespace cppcore

code/Random/RandomGenerator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2626
#include <time.h>
2727
#include <cassert>
2828

29-
namespace CPPCore {
29+
namespace cppcore {
3030

3131
static const unsigned int N = 624;
3232
static const unsigned int M = 397;
@@ -98,4 +98,4 @@ int RandomGenerator::get( int lower, int upper ) {
9898
return ret;
9999
}
100100

101-
} // Namespace CPPCore
101+
} // Namespace cppcore

include/cppcore/CPPCoreCommon.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2929
#include <stdio.h>
3030
#include <stdarg.h>
3131

32-
namespace CPPCore {
32+
namespace cppcore {
3333

3434
#if defined( _WIN32 ) || defined( _WIN64 )
3535
# define CPPCORE_WINDOWS
@@ -103,4 +103,4 @@ public: \
103103
//-------------------------------------------------------------------------------------------------
104104
#define CPPCORE_ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
105105

106-
} // Namespace CPPCore
106+
} // Namespace cppcore

include/cppcore/Common/Hash.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2424

2525
#include <cppcore/CPPCoreCommon.h>
2626

27-
namespace CPPCore {
27+
namespace cppcore {
2828

2929
//-------------------------------------------------------------------------------------------------
3030
/// @class Hash
@@ -122,4 +122,4 @@ inline unsigned int Hash::hashValue() const {
122122
return m_hash;
123123
}
124124

125-
} // Namespace CPPCore
125+
} // Namespace cppcore

include/cppcore/Common/TBitField.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2525
#include <cppcore/CPPCoreCommon.h>
2626
#include <cassert>
2727

28-
namespace CPPCore {
28+
namespace cppcore {
2929

3030
//-------------------------------------------------------------------------------------------------
3131
/// @class TBitField
@@ -135,4 +135,4 @@ inline size_t TBitField<T>::maxBits() const {
135135
return numBits;
136136
}
137137

138-
} // namespace CPPCore
138+
} // namespace cppcore

include/cppcore/Common/TOptional.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2424

2525
#include <cppcore/CPPCoreCommon.h>
2626

27-
namespace CPPCore {
27+
namespace cppcore {
2828

2929
//-------------------------------------------------------------------------------------------------
3030
/// @class TOptional
@@ -101,4 +101,4 @@ inline T &TOptional<T>::operator = (const T &value) {
101101
return *this;
102102
}
103103

104-
}
104+
} // namespace cppcore

include/cppcore/Common/TSharedPtr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2424

2525
#include <cppcore/CPPCoreCommon.h>
2626

27-
namespace CPPCore {
27+
namespace cppcore {
2828

2929
//-------------------------------------------------------------------------------------------------
3030
/// @class TSharedPtr
@@ -160,4 +160,4 @@ inline bool TSharedPtr<T>::operator!=(const TSharedPtr<T> &rhs) const {
160160
return !(*this == rhs);
161161
}
162162

163-
} // Namespace CPPCore
163+
} // Namespace cppcore

include/cppcore/Common/TStringBase.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2626
#include <cppcore/CPPCoreCommon.h>
2727
#include <malloc.h>
2828

29-
namespace CPPCore {
29+
namespace cppcore {
3030

3131
template <class T>
3232
struct Allocator {
@@ -189,4 +189,3 @@ template <class TCharType>
189189
inline TCharType *TStringView<TCharType>::data() const {
190190
}
191191

192-
} // Namespace CPPCore

include/cppcore/Common/Variant.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2828
#include <cassert>
2929
#include <string>
3030

31-
namespace CPPCore {
31+
namespace cppcore {
3232

3333
//-------------------------------------------------------------------------------------------------
3434
/// @class Variant
@@ -530,4 +530,4 @@ inline void Variant::reserve(Type type, size_t size) {
530530
m_Type = type;
531531
}
532532

533-
} // Namespace CPPCore
533+
} // Namespace cppcore

include/cppcore/Container/TArray.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2525
#include <cppcore/CPPCoreCommon.h>
2626
#include <cppcore/Memory/TDefaultAllocator.h>
2727

28-
namespace CPPCore {
28+
namespace cppcore {
2929
namespace Details {
3030

3131
inline static size_t getGrowing(size_t size) {
@@ -532,4 +532,4 @@ inline bool TArray<T, TAlloc>::operator == (const TArray<T, TAlloc> &rhs) const
532532
return true;
533533
}
534534

535-
} // Namespace CPPCore
535+
} // Namespace cppcore

0 commit comments

Comments
 (0)