diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-02 18:24:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 06:47:35 +0000 |
commit | ba423579255848440318d6c468a604914901779b (patch) | |
tree | 7c4bc01a2c7210bca3e8a19a012b15312f37b588 /include/osl | |
parent | afa675469cd9894f41a6b9eeb2e7acc8245d256c (diff) |
Remove uses of SAL_CONSTEXPR in LIBO_INTERNAL_ONLY
Change-Id: I9a7dc7c83302b3361f056fcf6636bbba7672f15f
Reviewed-on: https://gerrit.libreoffice.org/34840
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/osl')
-rw-r--r-- | include/osl/time.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osl/time.h b/include/osl/time.h index 44f9af817759..965675301ef6 100644 --- a/include/osl/time.h +++ b/include/osl/time.h @@ -44,10 +44,10 @@ struct TimeValue { TimeValue() = default; - SAL_CONSTEXPR TimeValue(sal_uInt32 seconds, sal_uInt32 nanoseconds): + constexpr TimeValue(sal_uInt32 seconds, sal_uInt32 nanoseconds): Seconds(seconds), Nanosec(nanoseconds) {} - template<typename Rep, typename Period> SAL_CONSTEXPR + template<typename Rep, typename Period> constexpr TimeValue(std::chrono::duration<Rep, Period> const & duration): Seconds( std::chrono::duration_cast<std::chrono::nanoseconds>( |