Skip to content

Commit

Permalink
xtd.hpp.in:
Browse files Browse the repository at this point in the history
 - add FORECEINLINE

concurrent_hash_map.hpp:
 - fix malformed TODO
  • Loading branch information
djmott committed Jul 10, 2016
1 parent 72b4f1b commit 1f76ee3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/xtd/concurrent_hash_map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ namespace xtd{

static hash_map_iterator begin(const hash_map_type& oHashMap){
hash_map_iterator oRet(oHashMap);
TODO("implement " __FUNCTON__)
TODO("implement me")
//oRet._Ptr = _begin(oHashMap, oHashMap._Buckets, oRet._ItemIndexes);
return oRet;
}
Expand Down
2 changes: 2 additions & 0 deletions include/xtd/xtd.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,15 @@
//__SONAR_ON__

#if (XTD_COMPILER_MSVC & XTD_COMPILER)
#define FORCEINLINE __forceinline
#define NOVTABLE __declspec(novtable)
#define NORETURN __declspec(noreturn)
#define MULTIPLE __declspec(selectany)
#define ALIGN(val) __declspec(align(val))
#define TODO( x ) __pragma(message ( __FILE__ "(" QUOTE(__LINE__) ") : TODO : " x ))
#define NOTE( x ) __pragma(message ( __FILE__ "(" QUOTE(__LINE__) ") : NOTE : " x ))
#elif (XTD_COMPILER_GCC & XTD_COMPILER)
#define FORCEINLINE __attribute__((always_inline))
#define NOVTABLE
#define NORETURN __attribute__((noreturn))
#define MULTIPLE __attribute__ ((weak))
Expand Down

0 comments on commit 1f76ee3

Please sign in to comment.