Skip to content

Commit 17aee4d

Browse files
Remove constexpr from ClDevice::getDevice
Change-Id: Iba4bd324a36c368b2711f5e1ec478acd210dbc14 Signed-off-by: Filip Hazubski <[email protected]>
1 parent 91c62dc commit 17aee4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/device/device.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class ClDevice : public BaseObject<_cl_device_id> {
9191
size_t &size,
9292
size_t &retSize);
9393

94-
constexpr Device &getDevice() const noexcept { return device; }
94+
Device &getDevice() const noexcept { return device; }
9595
ClDevice *getDeviceById(uint32_t deviceId);
9696
void initializeCaps();
9797
std::unique_ptr<SyncBufferHandler> syncBufferHandler;

0 commit comments

Comments
 (0)