Skip to content

Commit

Permalink
- disabled always_inline attribute, to fix msvc build
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22245 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Marcus Walther committed Sep 10, 2014
1 parent 3b96e94 commit 7e792af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -61,7 +61,7 @@ class MeasureTime
* - always inline -> effect
* - measure overhead and sub the values -> effect
*/
static inline void getTimeValues(MeasureTimeValues *res) __attribute__((always_inline))
static inline void getTimeValues(MeasureTimeValues *res) //__attribute__((always_inline))
{
getTimeValuesFct(res);
}
Expand Down
Expand Up @@ -37,7 +37,7 @@ class MeasureTimeRDTSC : public MeasureTime
static void getTimeValues(MeasureTimeValues *res);

private:
static inline unsigned long long RDTSC() __attribute__((always_inline));
static inline unsigned long long RDTSC(); //__attribute__((always_inline));
};

#endif /* MEASURE_TIME_RDTSC_HPP_ */

0 comments on commit 7e792af

Please sign in to comment.