Sprint 28: end-of-sprint architecture refactor pass
This commit is contained in:
11
editor/src/AdapterOperationUtil.h
Normal file
11
editor/src/AdapterOperationUtil.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
// Sprint 28 refactor: shared adapter operation helpers
|
||||
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
inline bool adapterHasOperation(const std::vector<std::string>& operations,
|
||||
const std::string& operation) {
|
||||
return std::find(operations.begin(), operations.end(), operation) != operations.end();
|
||||
}
|
||||
Reference in New Issue
Block a user