From 79c338fc728faabd16c15365a080b0a40c1a5410 Mon Sep 17 00:00:00 2001 From: rrawther Date: Mon, 21 Aug 2023 14:32:36 -0700 Subject: [PATCH] fix for formatting --- CMakeLists.txt | 6 +++--- src/commons.h | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a3888663e..5ba3e23df5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,9 +47,9 @@ find_package(HIP QUIET) find_package(Libva QUIET) if(HIP_FOUND AND Libva_FOUND) - include_directories(./api - ./src - ./src/vaapi + include_directories(api + src + src/vaapi ) file(GLOB_RECURSE SOURCES "./src/*.cpp") add_library(${PROJECT_NAME} SHARED ${SOURCES}) diff --git a/src/commons.h b/src/commons.h index be8a76a9c2..f6fc86a466 100644 --- a/src/commons.h +++ b/src/commons.h @@ -37,8 +37,7 @@ THE SOFTWARE. #define ERR(X) std::cerr << "[ERR] " << " {" << __func__ <<"} " << " " << X << std::endl; -class rocDecodeException : public std::exception -{ +class rocDecodeException : public std::exception { public: explicit rocDecodeException(const std::string& message):_message(message){}